Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.006981/0.006981, allocations: 104.2 kB / 15.73 MB, free: 5.953 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.001832/0.001833, allocations: 192.1 kB / 16.67 MB, free: 5.871 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.573/2.573, allocations: 482.7 MB / 0.7551 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 64.06 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2596, allocations: 162.3 MB / 1.242 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0365/0.2962, allocations: 35.11 MB / 1.276 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01393/0.3101, allocations: 9.948 MB / 1.286 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.3112, allocations: 147.2 kB / 1.286 GB, free: 11.51 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007378/0.3186, allocations: 3.8 MB / 1.29 GB, free: 7.703 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.3219, allocations: 2.028 MB / 1.292 GB, free: 5.664 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.3254, allocations: 1.954 MB / 1.294 GB, free: 3.711 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00815/0.3336, allocations: 7.986 MB / 1.301 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009868/0.3435, allocations: 9.53 MB / 1.311 GB, free: 2.059 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004029/0.3475, allocations: 3.369 MB / 1.314 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004147/0.3517, allocations: 3.738 MB / 1.318 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008556/0.3525, allocations: 0.6797 MB / 1.318 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.3549, allocations: 1.443 MB / 1.32 GB, free: 8.805 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002302/0.3572, allocations: 2.62 MB / 1.322 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002944/0.3601, allocations: 3.104 MB / 1.325 GB, free: 3.062 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.009237/0.3694, allocations: 10.4 MB / 1.335 GB, free: 8.629 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3694, allocations: 0 / 1.335 GB, free: 8.629 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3694, allocations: 0 / 1.335 GB, free: 8.629 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001118/0.3695, allocations: 0 / 1.335 GB, free: 8.629 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.008675/0.3782, allocations: 5.542 MB / 1.341 GB, free: 3.008 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3782, allocations: 8.031 kB / 1.341 GB, free: 3 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008637/0.3791, allocations: 0.7062 MB / 1.342 GB, free: 2.285 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/0.3831, allocations: 0.9928 MB / 1.343 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004644/0.3877, allocations: 3.196 MB / 1.346 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.388, allocations: 357.9 kB / 1.346 GB, free: 13.69 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006488/0.3887, allocations: 464.3 kB / 1.346 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.3993, allocations: 7.91 MB / 1.354 GB, free: 4.961 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.72e-05/0.3994, allocations: 19.83 kB / 1.354 GB, free: 4.941 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004509/0.3999, allocations: 208 kB / 1.354 GB, free: 4.738 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004742/0.4004, allocations: 365.1 kB / 1.355 GB, free: 4.379 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008448/0.4088, allocations: 5.941 MB / 1.361 GB, free: 14.42 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03153/0.4404, allocations: 36.01 MB / 1.396 GB, free: 7.184 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.4435, allocations: 2.142 MB / 1.398 GB, free: 5.02 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.4453, allocations: 1.477 MB / 1.399 GB, free: 3.547 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.56e-05/0.4454, allocations: 17.31 kB / 1.399 GB, free: 3.531 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.4455, allocations: 63.8 kB / 1.399 GB, free: 3.461 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 3.045e-06/0.4455, allocations: 0 / 1.399 GB, free: 3.461 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.01221/0.4577, allocations: 7.598 MB / 1.407 GB, free: 11.6 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.4577, allocations: 68.72 kB / 1.407 GB, free: 11.52 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.4599, allocations: 1.868 MB / 1.409 GB, free: 9.625 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-05/0.46, allocations: 57.7 kB / 1.409 GB, free: 9.562 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001448/0.4614, allocations: 2.184 MB / 1.411 GB, free: 7.359 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/0.4619, allocations: 0.5849 MB / 1.411 GB, free: 6.77 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/0.4625, allocations: 400 kB / 1.412 GB, free: 6.371 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4626, allocations: 309 kB / 1.412 GB, free: 6.066 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.4641, allocations: 1.058 MB / 1.413 GB, free: 5.004 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/0.4662, allocations: 1.768 MB / 1.415 GB, free: 2.914 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/0.4699, allocations: 3.049 MB / 1.418 GB, free: 15.55 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.4699, allocations: 8 kB / 1.418 GB, free: 15.54 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005819/0.4757, allocations: 3.93 MB / 1.422 GB, free: 11.57 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4757, allocations: 15.94 kB / 1.422 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.4758, allocations: 24 kB / 1.422 GB, free: 11.53 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/0.478, allocations: 0.9389 MB / 1.423 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.4793, allocations: 427.3 kB / 1.423 GB, free: 10.13 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.5006, allocations: 22.77 MB / 1.445 GB, free: 1.672 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.5025, allocations: 123.9 kB / 1.445 GB, free: 1.551 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/0.5027, allocations: 92 kB / 1.445 GB, free: 1.461 MB / 1.17 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002327/0.505, allocations: 1.653 MB / 1.447 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.5053, allocations: 266.4 kB / 1.447 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005164/0.5105, allocations: 3.264 MB / 1.451 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.5105, allocations: 16 kB / 1.451 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.5105, allocations: 8 kB / 1.451 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.5106, allocations: 7.969 kB / 1.451 GB, free: 12.19 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.521, allocations: 7.545 MB / 1.458 GB, free: 4.488 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.521, allocations: 4 kB / 1.458 GB, free: 4.484 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008364/0.5219, allocations: 219.6 kB / 1.458 GB, free: 4.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.524, allocations: 0.8965 MB / 1.459 GB, free: 3.336 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/0.5241, allocations: 31.98 kB / 1.459 GB, free: 3.305 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/0.5447, allocations: 22.76 MB / 1.481 GB, free: 10.87 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5447, allocations: 4 kB / 1.481 GB, free: 10.86 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.5496, allocations: 3.392 MB / 1.485 GB, free: 7.359 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008272/0.5505, allocations: 0.5422 MB / 1.485 GB, free: 6.797 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.5507, allocations: 35.94 kB / 1.485 GB, free: 6.762 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/0.5517, allocations: 91.89 kB / 1.485 GB, free: 6.672 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.552, allocations: 141 kB / 1.485 GB, free: 6.535 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/0.5521, allocations: 44 kB / 1.485 GB, free: 6.492 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001545/0.5536, allocations: 1.229 MB / 1.487 GB, free: 5.25 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5536, allocations: 0 / 1.487 GB, free: 5.25 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002208/0.5558, allocations: 0.9062 MB / 1.487 GB, free: 4.344 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.005277/0.5611, allocations: 4.001 MB / 1.491 GB, free: 232 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006035/0.5672, allocations: 4.435 MB / 1.496 GB, free: 11.64 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5672, allocations: 4 kB / 1.496 GB, free: 11.63 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004014/0.5712, allocations: 3.004 MB / 1.499 GB, free: 8.473 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.5741, allocations: 0.8207 MB / 1.499 GB, free: 7.664 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0417/0.6159, allocations: 25.19 MB / 1.524 GB, free: 13.36 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/0.6193, allocations: 3.209 MB / 1.527 GB, free: 10.12 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001524/0.6208, allocations: 0.5254 MB / 1.528 GB, free: 9.594 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/0.6227, allocations: 1.655 MB / 1.529 GB, free: 7.941 MB / 1.264 GB Notification: Performance of SimCode: time 1.242e-06/0.6228, allocations: 0 / 1.529 GB, free: 7.941 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.319/3.942, allocations: 70.25 MB / 1.598 GB, free: 248 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.55/33.49, allocations: 6.719 kB / 1.598 GB, free: 248 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches