Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ACLine_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.0009115/0.0009116, allocations: 90.52 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.005241/0.005241, allocations: 171.1 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 12.94 kB / 0.9029 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3507, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03768/0.3884, allocations: 36.38 MB / 1.094 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02332/0.4118, allocations: 12.92 MB / 1.107 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005594/0.4175, allocations: 143.1 kB / 1.107 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.4209, allocations: 0.7598 MB / 1.108 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007455/0.4283, allocations: 2.352 MB / 1.11 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00682/0.4352, allocations: 2.299 MB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01688/0.4521, allocations: 13.36 MB / 1.125 GB, free: 488 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02285/0.475, allocations: 13.2 MB / 1.138 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/0.4818, allocations: 2.944 MB / 1.141 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007836/0.4896, allocations: 3.865 MB / 1.145 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.4919, allocations: 320 kB / 1.145 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005046/0.497, allocations: 1.63 MB / 1.147 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004264/0.5013, allocations: 2.466 MB / 1.149 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.007279/0.5086, allocations: 2.956 MB / 1.152 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.5228, allocations: 11.29 MB / 1.163 GB, free: 9.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5228, allocations: 0 / 1.163 GB, free: 9.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.925e-06/0.5228, allocations: 3.938 kB / 1.163 GB, free: 9.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000346/0.5232, allocations: 0 / 1.163 GB, free: 9.594 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01401/0.5372, allocations: 5.142 MB / 1.168 GB, free: 4.379 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.5373, allocations: 15.97 kB / 1.168 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002546/0.5398, allocations: 0.7519 MB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008945/0.5488, allocations: 1.301 MB / 1.17 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007542/0.5563, allocations: 3.564 MB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.5566, allocations: 382.4 kB / 1.174 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.5579, allocations: 0.504 MB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.5739, allocations: 8.882 MB / 1.183 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.5741, allocations: 23.78 kB / 1.183 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005765/0.5746, allocations: 223.9 kB / 1.183 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002179/0.5768, allocations: 0.6343 MB / 1.184 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/0.5906, allocations: 7.014 MB / 1.191 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05185/0.6425, allocations: 40.43 MB / 1.23 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004105/0.6467, allocations: 2.892 MB / 1.233 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/0.6501, allocations: 2.663 MB / 1.236 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.6503, allocations: 26.09 kB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.6503, allocations: 64.59 kB / 1.236 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 3.407e-06/0.6503, allocations: 0 / 1.236 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.7301/1.38, allocations: 77.5 MB / 1.312 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/1.38, allocations: 102.7 kB / 1.312 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/1.383, allocations: 2.355 MB / 1.314 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003646/1.383, allocations: 97.7 kB / 1.314 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008696/1.384, allocations: 2.34 MB / 1.316 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008585/1.385, allocations: 1.434 MB / 1.318 GB, free: 139 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/1.385, allocations: 347 kB / 1.318 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.913e-05/1.385, allocations: 301.1 kB / 1.318 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/1.389, allocations: 2.995 MB / 1.321 GB, free: 135.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/1.392, allocations: 3.843 MB / 1.325 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00723/1.4, allocations: 7.384 MB / 1.332 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.4, allocations: 8 kB / 1.332 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02375/1.423, allocations: 12.56 MB / 1.345 GB, free: 110.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.424, allocations: 16 kB / 1.345 GB, free: 110.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/1.424, allocations: 24.09 kB / 1.345 GB, free: 110.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0203/1.444, allocations: 6.024 MB / 1.35 GB, free: 104.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/1.446, allocations: 495.2 kB / 1.351 GB, free: 104.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06042/1.506, allocations: 67.28 MB / 1.417 GB, free: 33.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/1.51, allocations: 215.8 kB / 1.417 GB, free: 33.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/1.51, allocations: 156.2 kB / 1.417 GB, free: 33.41 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002649/1.513, allocations: 1.988 MB / 1.419 GB, free: 31.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005585/1.513, allocations: 395.3 kB / 1.419 GB, free: 31.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02368/1.537, allocations: 12.24 MB / 1.431 GB, free: 18.67 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.537, allocations: 47.94 kB / 1.431 GB, free: 18.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.459e-05/1.537, allocations: 48 kB / 1.431 GB, free: 18.58 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.611e-05/1.537, allocations: 19.92 kB / 1.431 GB, free: 18.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03198/1.569, allocations: 19.16 MB / 1.45 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.569, allocations: 8 kB / 1.45 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/1.571, allocations: 292.4 kB / 1.45 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02043/1.591, allocations: 5.576 MB / 1.456 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004956/1.592, allocations: 83.98 kB / 1.456 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07897/1.671, allocations: 64.91 MB / 1.519 GB, free: 5.141 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.671, allocations: 11.94 kB / 1.519 GB, free: 5.129 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03258/1.703, allocations: 15.63 MB / 1.535 GB, free: 5.277 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/1.706, allocations: 1.043 MB / 1.536 GB, free: 4.211 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005182/1.706, allocations: 83.94 kB / 1.536 GB, free: 4.129 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.709, allocations: 219.7 kB / 1.536 GB, free: 3.914 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001272/1.71, allocations: 394.3 kB / 1.536 GB, free: 3.527 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002625/1.71, allocations: 112 kB / 1.536 GB, free: 3.418 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001996/1.712, allocations: 1.556 MB / 1.538 GB, free: 1.863 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.712, allocations: 4.469 kB / 1.538 GB, free: 1.859 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005081/1.717, allocations: 1.859 MB / 1.54 GB, free: 0 / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03039/1.748, allocations: 16.3 MB / 1.556 GB, free: 15.46 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02166/1.769, allocations: 12.19 MB / 1.568 GB, free: 2.969 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.769, allocations: 4 kB / 1.568 GB, free: 2.965 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01509/1.784, allocations: 8.388 MB / 1.576 GB, free: 10.28 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008207/1.793, allocations: 1.114 MB / 1.577 GB, free: 9.18 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1097/1.902, allocations: 62.75 MB / 1.638 GB, free: 6.27 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004507/1.907, allocations: 4.09 MB / 1.642 GB, free: 2.145 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002372/1.909, allocations: 0.6669 MB / 1.643 GB, free: 1.473 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002365/1.912, allocations: 2.134 MB / 1.645 GB, free: 15.39 MB / 1.217 GB Notification: Performance of SimCode: time 6.42e-07/1.912, allocations: 4 kB / 1.645 GB, free: 15.39 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7029/2.615, allocations: 144.4 MB / 1.786 GB, free: 396.2 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/2.615, allocations: 247.2 kB / 1.786 GB, free: 395.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.031/7.646, allocations: 0 / 1.786 GB, free: 395.9 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches