Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.0009111, allocations: 90.83 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007433/0.007433, allocations: 172.3 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004953, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.5491, allocations: 142.4 MB / 0.9552 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007621/0.5568, allocations: 9.597 MB / 0.9645 GB, free: 272 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004062/0.5608, allocations: 3.144 MB / 0.9676 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.5611, allocations: 31.53 kB / 0.9676 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.5615, allocations: 182.8 kB / 0.9678 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.5626, allocations: 0.6967 MB / 0.9685 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.5637, allocations: 0.65 MB / 0.9691 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00358/0.5673, allocations: 4.479 MB / 0.9735 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003733/0.571, allocations: 3.146 MB / 0.9766 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.5721, allocations: 0.9357 MB / 0.9775 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.5736, allocations: 1.459 MB / 0.9789 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.5738, allocations: 119.9 kB / 0.979 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007086/0.5745, allocations: 467.2 kB / 0.9795 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006974/0.5752, allocations: 0.9275 MB / 0.9804 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007444/0.576, allocations: 0.9658 MB / 0.9813 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.5784, allocations: 3.526 MB / 0.9848 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5784, allocations: 0 / 0.9848 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5784, allocations: 4 kB / 0.9848 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.5784, allocations: 0 / 0.9848 GB, free: 0.8945 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002732/0.5811, allocations: 1.764 MB / 0.9865 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.5812, allocations: 8.031 kB / 0.9865 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000298/0.5815, allocations: 257.2 kB / 0.9868 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00816/0.5896, allocations: 1.321 MB / 0.988 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.5912, allocations: 1.247 MB / 0.9893 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.5913, allocations: 119.3 kB / 0.9894 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/0.5916, allocations: 152.2 kB / 0.9895 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004294/0.5959, allocations: 3.433 MB / 0.9929 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.5959, allocations: 11.88 kB / 0.9929 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.5961, allocations: 63.97 kB / 0.9929 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/0.5963, allocations: 203.1 kB / 0.9931 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/0.6005, allocations: 3.124 MB / 0.9962 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.6145, allocations: 13.59 MB / 1.009 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.6167, allocations: 1.727 MB / 1.011 GB, free: 4.785 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.6184, allocations: 1.444 MB / 1.013 GB, free: 3.34 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.265e-05/0.6185, allocations: 13 kB / 1.013 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.6185, allocations: 39.56 kB / 1.013 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.6186, allocations: 0 / 1.013 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1369/0.7555, allocations: 35.96 MB / 1.048 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.7556, allocations: 73.41 kB / 1.048 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.7567, allocations: 1.05 MB / 1.049 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/0.7569, allocations: 57.7 kB / 1.049 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.7573, allocations: 0.7873 MB / 1.05 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004778/0.7578, allocations: 0.6239 MB / 1.05 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.7581, allocations: 161.6 kB / 1.05 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.7582, allocations: 301.1 kB / 1.051 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.7605, allocations: 1.928 MB / 1.053 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/0.7631, allocations: 2.281 MB / 1.055 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0051/0.7682, allocations: 4.399 MB / 1.059 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.7683, allocations: 4 kB / 1.059 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01846/0.7867, allocations: 9.021 MB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.7868, allocations: 9.406 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.7868, allocations: 19.98 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01572/0.8025, allocations: 4.973 MB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.8032, allocations: 195.6 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04888/0.8521, allocations: 35.15 MB / 1.107 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.8537, allocations: 99.89 kB / 1.107 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.8539, allocations: 71.94 kB / 1.107 GB, free: 1.059 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001233/0.8552, allocations: 0.8113 MB / 1.108 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.8554, allocations: 138.3 kB / 1.108 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0192/0.8747, allocations: 8.89 MB / 1.117 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.8747, allocations: 16 kB / 1.117 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.838e-05/0.8748, allocations: 35.94 kB / 1.117 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.8748, allocations: 15.95 kB / 1.117 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02518/0.9, allocations: 13.27 MB / 1.13 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.9, allocations: 4 kB / 1.13 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.9004, allocations: 119.8 kB / 1.13 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0156/0.916, allocations: 4.756 MB / 1.135 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.9162, allocations: 40 kB / 1.135 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04749/0.9637, allocations: 31.44 MB / 1.166 GB, free: 4.754 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9637, allocations: 7.938 kB / 1.166 GB, free: 4.746 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01813/0.9819, allocations: 8.404 MB / 1.174 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/0.9829, allocations: 0.6202 MB / 1.174 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/0.9832, allocations: 32 kB / 1.174 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.9844, allocations: 91.83 kB / 1.175 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005724/0.985, allocations: 165.7 kB / 1.175 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.9852, allocations: 51.88 kB / 1.175 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009697/0.9862, allocations: 0.7343 MB / 1.175 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9862, allocations: 0 / 1.175 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002656/0.9888, allocations: 1.008 MB / 1.176 GB, free: 9.531 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01843/1.007, allocations: 8.991 MB / 1.185 GB, free: 452 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.009201/1.016, allocations: 5.823 MB / 1.191 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.016, allocations: 4 kB / 1.191 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.007222/1.024, allocations: 3.804 MB / 1.195 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/1.026, allocations: 233.5 kB / 1.195 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05661/1.082, allocations: 32.5 MB / 1.227 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/1.084, allocations: 1.87 MB / 1.228 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007544/1.085, allocations: 347.4 kB / 1.229 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006936/1.086, allocations: 0.6008 MB / 1.229 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of SimCode: time 7.81e-07/1.086, allocations: 4 kB / 1.229 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.077/5.163, allocations: 70.17 MB / 1.298 GB, free: 242.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/5.163, allocations: 262 kB / 1.298 GB, free: 242.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.761/8.924, allocations: 2.031 kB / 1.298 GB, free: 242.7 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches