Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.009234/0.009234, allocations: 101 kB / 15.73 MB, free: 6.051 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.002236/0.002236, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3342, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01001/0.3443, allocations: 6.805 MB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006068/0.3504, allocations: 3.067 MB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.3514, allocations: 31.81 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.3545, allocations: 0.9636 MB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.3564, allocations: 0.509 MB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.3581, allocations: 454.2 kB / 1.178 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.3604, allocations: 1.236 MB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.3617, allocations: 0.665 MB / 1.18 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009971/0.3627, allocations: 478.3 kB / 1.18 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.3637, allocations: 0.5176 MB / 1.181 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.364, allocations: 71.94 kB / 1.181 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.3651, allocations: 379.2 kB / 1.181 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004822/0.3656, allocations: 315.1 kB / 1.181 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008224/0.3664, allocations: 445.8 kB / 1.182 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.3683, allocations: 1.223 MB / 1.183 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3683, allocations: 3.984 kB / 1.183 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3683, allocations: 0 / 1.183 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.638e-05/0.3684, allocations: 8 kB / 1.183 GB, free: 6.113 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002804/0.3712, allocations: 1.157 MB / 1.184 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3713, allocations: 8.031 kB / 1.184 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.3715, allocations: 126.7 kB / 1.184 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.3733, allocations: 235.5 kB / 1.184 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.3745, allocations: 0.6076 MB / 1.185 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.3746, allocations: 45.62 kB / 1.185 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.3747, allocations: 72.36 kB / 1.185 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3765, allocations: 1.085 MB / 1.186 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.3765, allocations: 7.938 kB / 1.186 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.623e-05/0.3766, allocations: 24 kB / 1.186 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.3768, allocations: 85.25 kB / 1.186 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.3781, allocations: 0.7543 MB / 1.187 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00595/0.3841, allocations: 5.885 MB / 1.193 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.3852, allocations: 0.5555 MB / 1.193 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.3857, allocations: 322 kB / 1.194 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.3858, allocations: 4.438 kB / 1.194 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.3858, allocations: 42.94 kB / 1.194 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 3.897e-06/0.3859, allocations: 0 / 1.194 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004425/0.3903, allocations: 1.982 MB / 1.196 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3904, allocations: 59.84 kB / 1.196 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007731/0.3911, allocations: 0.5587 MB / 1.196 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.3912, allocations: 29.7 kB / 1.196 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/0.3915, allocations: 426.9 kB / 1.197 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.3917, allocations: 165.6 kB / 1.197 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.3919, allocations: 134.5 kB / 1.197 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.3921, allocations: 374.7 kB / 1.197 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.3926, allocations: 277.8 kB / 1.197 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.3931, allocations: 497 kB / 1.198 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.3943, allocations: 0.8093 MB / 1.199 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3943, allocations: 8 kB / 1.199 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002121/0.3964, allocations: 1.083 MB / 1.2 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.3964, allocations: 10.03 kB / 1.2 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.3965, allocations: 12 kB / 1.2 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009443/0.3974, allocations: 283.1 kB / 1.2 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.3979, allocations: 123.8 kB / 1.2 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/0.4056, allocations: 7.13 MB / 1.207 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/0.4064, allocations: 44.03 kB / 1.207 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4065, allocations: 28 kB / 1.207 GB, free: 11.54 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005189/0.4071, allocations: 261.4 kB / 1.208 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.4073, allocations: 71.16 kB / 1.208 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.4091, allocations: 0.8886 MB / 1.208 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.4091, allocations: 8 kB / 1.208 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.4091, allocations: 3.938 kB / 1.208 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4091, allocations: 4 kB / 1.208 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.4122, allocations: 1.721 MB / 1.21 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4123, allocations: 8.125 kB / 1.21 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.4126, allocations: 63.89 kB / 1.21 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008669/0.4134, allocations: 275.3 kB / 1.21 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/0.4135, allocations: 8 kB / 1.21 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007801/0.4213, allocations: 7.123 MB / 1.217 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.4213, allocations: 4.031 kB / 1.217 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.4231, allocations: 0.9796 MB / 1.218 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/0.4235, allocations: 192.2 kB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.4237, allocations: 11.94 kB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/0.4241, allocations: 35.91 kB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.4243, allocations: 43.88 kB / 1.219 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.4243, allocations: 16.14 kB / 1.219 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005518/0.4249, allocations: 387.1 kB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4249, allocations: 0 / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009789/0.4259, allocations: 228 kB / 1.219 GB, free: 14.49 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001984/0.4279, allocations: 1.54 MB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.4301, allocations: 1.268 MB / 1.222 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.4301, allocations: 4 kB / 1.222 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.4314, allocations: 0.8893 MB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4325, allocations: 227.3 kB / 1.223 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0098/0.4424, allocations: 6.384 MB / 1.229 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/0.4431, allocations: 1.016 MB / 1.23 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004602/0.4436, allocations: 118 kB / 1.23 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.444, allocations: 251.4 kB / 1.231 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.444, allocations: 0 / 1.231 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05269/0.4967, allocations: 17.51 MB / 1.248 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.68, allocations: 7.734 kB / 1.248 GB, free: 1.098 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches