Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 113.7 kB / 16.42 MB, free: 6.465 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.001521/0.001521, allocations: 190.7 kB / 17.35 MB, free: 5.699 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 59.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9423/0.9439, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0175/0.9614, allocations: 14.06 MB / 1.24 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.9766, allocations: 9.383 MB / 1.249 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.9784, allocations: 55.69 kB / 1.249 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004525/0.983, allocations: 1.683 MB / 1.251 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005035/0.9881, allocations: 1.575 MB / 1.252 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.9902, allocations: 0.7639 MB / 1.253 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00361/0.9939, allocations: 2.509 MB / 1.256 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.9956, allocations: 1.419 MB / 1.257 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.9973, allocations: 1.074 MB / 1.258 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.9989, allocations: 1.136 MB / 1.259 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.9992, allocations: 164 kB / 1.259 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/1.001, allocations: 0.7916 MB / 1.26 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005447/1.001, allocations: 0.6154 MB / 1.261 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009317/1.002, allocations: 0.9446 MB / 1.262 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003259/1.005, allocations: 2.755 MB / 1.264 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.006, allocations: 7.938 kB / 1.264 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/1.006, allocations: 0 / 1.264 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.893e-05/1.006, allocations: 0 / 1.264 GB, free: 6.402 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00408/1.01, allocations: 2.199 MB / 1.267 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.01, allocations: 8.031 kB / 1.267 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/1.02, allocations: 2.098 MB / 1.269 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/1.023, allocations: 1.299 MB / 1.27 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/1.023, allocations: 90.73 kB / 1.27 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/1.024, allocations: 124.1 kB / 1.27 GB, free: 480 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00536/1.029, allocations: 2.677 MB / 1.273 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/1.029, allocations: 11.89 kB / 1.273 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/1.029, allocations: 55.98 kB / 1.273 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005487/1.03, allocations: 182.1 kB / 1.273 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006811/1.037, allocations: 2.799 MB / 1.276 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/1.05, allocations: 10.46 MB / 1.286 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006358/1.057, allocations: 2.521 MB / 1.288 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/1.06, allocations: 1.288 MB / 1.29 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/1.06, allocations: 9 kB / 1.29 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/1.06, allocations: 43.56 kB / 1.29 GB, free: 11.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=89): time 3.317e-06/1.06, allocations: 0 / 1.29 GB, free: 11.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=131): time 0.04273/1.102, allocations: 13.4 MB / 1.303 GB, free: 13.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/1.103, allocations: 64.72 kB / 1.303 GB, free: 13.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/1.104, allocations: 1.125 MB / 1.304 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.104, allocations: 53.64 kB / 1.304 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/1.105, allocations: 0.7248 MB / 1.305 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/1.105, allocations: 479.8 kB / 1.305 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004698/1.106, allocations: 263.5 kB / 1.305 GB, free: 11.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.106, allocations: 365.8 kB / 1.306 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/1.109, allocations: 1.335 MB / 1.307 GB, free: 9.543 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/1.112, allocations: 1.604 MB / 1.309 GB, free: 7.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006113/1.118, allocations: 2.991 MB / 1.311 GB, free: 4.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.118, allocations: 8 kB / 1.311 GB, free: 4.746 MB / 1.029 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01068/1.129, allocations: 4.447 MB / 1.316 GB, free: 252 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.129, allocations: 15.88 kB / 1.316 GB, free: 236 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.129, allocations: 8 kB / 1.316 GB, free: 228 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005051/1.134, allocations: 1.432 MB / 1.317 GB, free: 14.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/1.136, allocations: 431.2 kB / 1.318 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02557/1.161, allocations: 26.7 MB / 1.344 GB, free: 1.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/1.164, allocations: 299.5 kB / 1.344 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.164, allocations: 63.95 kB / 1.344 GB, free: 1.445 MB / 1.061 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008435/1.165, allocations: 446.8 kB / 1.344 GB, free: 1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/1.165, allocations: 171 kB / 1.345 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/1.176, allocations: 4.445 MB / 1.349 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.176, allocations: 11.97 kB / 1.349 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/1.176, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008009/1.177, allocations: 467.9 kB / 1.349 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/1.177, allocations: 27.94 kB / 1.349 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.179, allocations: 287.5 kB / 1.35 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/1.179, allocations: 157 kB / 1.35 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01236/1.191, allocations: 4.726 MB / 1.355 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009783/1.201, allocations: 4.584 MB / 1.359 GB, free: 2.004 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003092/1.204, allocations: 1.442 MB / 1.36 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001104/1.205, allocations: 0.7487 MB / 1.361 GB, free: 15.81 MB / 1.092 GB Notification: Performance of Backend: time 6.31e-07/1.205, allocations: 0 / 1.361 GB, free: 15.81 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009134/1.215, allocations: 4.313 MB / 1.365 GB, free: 11.32 MB / 1.092 GB Notification: Performance of SimCode: time 0.006556/1.221, allocations: 4.309 MB / 1.37 GB, free: 6.984 MB / 1.092 GB Notification: Performance of Templates: time 0.07924/1.3, allocations: 45.13 MB / 1.414 GB, free: 10.25 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches