Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.007297/0.007297, 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.001387/0.001387, 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.558/2.558, allocations: 482.7 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 68.94 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2985, allocations: 162.3 MB / 1.242 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04216/0.3407, allocations: 37.95 MB / 1.279 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01789/0.3586, allocations: 10.99 MB / 1.29 GB, free: 7.812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.3615, allocations: 155.3 kB / 1.29 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/0.3717, allocations: 4.354 MB / 1.294 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005598/0.3773, allocations: 2.223 MB / 1.296 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004813/0.3822, allocations: 2.17 MB / 1.298 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.3924, allocations: 9.291 MB / 1.307 GB, free: 5.574 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01299/0.4054, allocations: 11.26 MB / 1.318 GB, free: 10.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00564/0.4111, allocations: 4 MB / 1.322 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006186/0.4173, allocations: 4.51 MB / 1.327 GB, free: 1.664 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.4188, allocations: 0.8203 MB / 1.328 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.4219, allocations: 1.584 MB / 1.329 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003005/0.4249, allocations: 3.154 MB / 1.332 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004191/0.4291, allocations: 3.657 MB / 1.336 GB, free: 8.426 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.4415, allocations: 12.35 MB / 1.348 GB, free: 12.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4415, allocations: 0 / 1.348 GB, free: 12.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4415, allocations: 0 / 1.348 GB, free: 12.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000243/0.4418, allocations: 4 kB / 1.348 GB, free: 12.04 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0121/0.4539, allocations: 6.459 MB / 1.354 GB, free: 5.496 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4539, allocations: 12.03 kB / 1.354 GB, free: 5.484 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.4551, allocations: 0.8294 MB / 1.355 GB, free: 4.645 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/0.4597, allocations: 1.094 MB / 1.356 GB, free: 3.547 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005817/0.4655, allocations: 3.639 MB / 1.36 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.4658, allocations: 431.7 kB / 1.36 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008685/0.4667, allocations: 0.5394 MB / 1.36 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.4811, allocations: 9.377 MB / 1.37 GB, free: 5.184 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.4812, allocations: 23.83 kB / 1.37 GB, free: 5.16 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.4818, allocations: 248 kB / 1.37 GB, free: 4.918 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005731/0.4824, allocations: 414.9 kB / 1.37 GB, free: 4.512 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.4937, allocations: 7.127 MB / 1.377 GB, free: 13.37 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04057/0.5343, allocations: 41.07 MB / 1.417 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/0.5387, allocations: 3.109 MB / 1.42 GB, free: 13.45 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00291/0.5417, allocations: 2.147 MB / 1.422 GB, free: 11.31 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.5418, allocations: 22 kB / 1.423 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/0.5419, allocations: 68.56 kB / 1.423 GB, free: 11.21 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 3.897e-06/0.5419, allocations: 0 / 1.423 GB, free: 11.21 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02311/0.565, allocations: 10.63 MB / 1.433 GB, free: 500 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.5651, allocations: 77.41 kB / 1.433 GB, free: 408 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.5677, allocations: 2.002 MB / 1.435 GB, free: 14.38 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.568, allocations: 69.69 kB / 1.435 GB, free: 14.3 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.5697, allocations: 2.47 MB / 1.437 GB, free: 11.81 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006801/0.5703, allocations: 0.763 MB / 1.438 GB, free: 11.04 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007346/0.5711, allocations: 489.5 kB / 1.439 GB, free: 10.55 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5712, allocations: 301.1 kB / 1.439 GB, free: 10.26 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.5732, allocations: 1.376 MB / 1.44 GB, free: 8.875 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/0.5757, allocations: 2.108 MB / 1.442 GB, free: 6.453 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004738/0.5804, allocations: 3.766 MB / 1.446 GB, free: 2.375 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.5804, allocations: 8 kB / 1.446 GB, free: 2.367 MB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00795/0.5884, allocations: 5.074 MB / 1.451 GB, free: 13.27 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.5884, allocations: 15.98 kB / 1.451 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.5885, allocations: 28.09 kB / 1.451 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003382/0.5919, allocations: 1.581 MB / 1.453 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.5934, allocations: 455.2 kB / 1.453 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.6158, allocations: 18.6 MB / 1.471 GB, free: 8.027 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.6178, allocations: 143.9 kB / 1.471 GB, free: 7.887 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.618, allocations: 108 kB / 1.471 GB, free: 7.781 MB / 1.201 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002923/0.621, allocations: 1.945 MB / 1.473 GB, free: 5.828 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004539/0.6214, allocations: 302.2 kB / 1.474 GB, free: 5.531 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007101/0.6285, allocations: 4.451 MB / 1.478 GB, free: 1.051 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.6286, allocations: 20 kB / 1.478 GB, free: 1.031 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.6286, allocations: 20 kB / 1.478 GB, free: 1.012 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.6286, allocations: 11.95 kB / 1.478 GB, free: 1 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.6428, allocations: 9.672 MB / 1.487 GB, free: 7.184 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.6428, allocations: 8.062 kB / 1.487 GB, free: 7.176 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009384/0.6438, allocations: 239.6 kB / 1.488 GB, free: 6.941 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003229/0.647, allocations: 1.427 MB / 1.489 GB, free: 5.504 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.6471, allocations: 40 kB / 1.489 GB, free: 5.465 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02249/0.6696, allocations: 18.59 MB / 1.507 GB, free: 2.316 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.6697, allocations: 4 kB / 1.507 GB, free: 2.312 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007119/0.6768, allocations: 4.565 MB / 1.512 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/0.678, allocations: 0.6397 MB / 1.512 GB, free: 13 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.6783, allocations: 43.95 kB / 1.512 GB, free: 12.96 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.6794, allocations: 119.8 kB / 1.513 GB, free: 12.84 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/0.6799, allocations: 181.6 kB / 1.513 GB, free: 12.66 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.68, allocations: 60 kB / 1.513 GB, free: 12.61 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001765/0.6818, allocations: 1.315 MB / 1.514 GB, free: 11.28 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6818, allocations: 0 / 1.514 GB, free: 11.28 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002739/0.6846, allocations: 1.145 MB / 1.515 GB, free: 10.14 MB / 1.248 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007076/0.6916, allocations: 5.178 MB / 1.52 GB, free: 4.859 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0071/0.6987, allocations: 4.719 MB / 1.525 GB, free: 96 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.6988, allocations: 5 kB / 1.525 GB, free: 92 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00443/0.7032, allocations: 2.933 MB / 1.528 GB, free: 13.11 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/0.7065, allocations: 0.8848 MB / 1.529 GB, free: 12.23 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6231/1.33, allocations: 30.53 MB / 1.558 GB, free: 271 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004886/1.335, allocations: 3.692 MB / 1.562 GB, free: 269.7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001896/1.336, allocations: 0.5524 MB / 1.563 GB, free: 269.7 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/1.338, allocations: 1.949 MB / 1.564 GB, free: 268 MB / 1.264 GB Notification: Performance of SimCode: time 1.022e-06/1.338, allocations: 1.375 kB / 1.564 GB, free: 268 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.052/6.39, allocations: 85.27 MB / 1.648 GB, free: 200.9 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.07/26.46, allocations: 7.938 kB / 1.648 GB, free: 200.9 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches