Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 116.2 kB / 16.42 MB, free: 6.016 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.002137/0.002137, allocations: 191.6 kB / 17.35 MB, free: 5.629 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.649/2.649, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9484/0.9498, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01831/0.9682, allocations: 14.79 MB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.9845, allocations: 10.35 MB / 1.233 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.9864, allocations: 51.69 kB / 1.233 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004478/0.9909, allocations: 1.699 MB / 1.235 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.9965, allocations: 1.8 MB / 1.236 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/0.9986, allocations: 0.7635 MB / 1.237 GB, free: 112 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004526/1.003, allocations: 2.746 MB / 1.24 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/1.006, allocations: 1.411 MB / 1.241 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/1.008, allocations: 1.531 MB / 1.243 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/1.011, allocations: 1.16 MB / 1.244 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006118/1.012, allocations: 163.9 kB / 1.244 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/1.014, allocations: 0.7877 MB / 1.245 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008492/1.015, allocations: 0.6154 MB / 1.245 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001447/1.016, allocations: 0.9483 MB / 1.246 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003513/1.02, allocations: 2.768 MB / 1.249 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.02, allocations: 0 / 1.249 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/1.02, allocations: 0 / 1.249 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.058e-05/1.02, allocations: 4 kB / 1.249 GB, free: 3.91 MB / 0.9669 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.004036/1.024, allocations: 2.166 MB / 1.251 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.024, allocations: 8.031 kB / 1.251 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/1.035, allocations: 2.108 MB / 1.253 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/1.038, allocations: 1.307 MB / 1.254 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/1.038, allocations: 86.67 kB / 1.255 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005409/1.039, allocations: 124 kB / 1.255 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006497/1.045, allocations: 2.674 MB / 1.257 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.033e-05/1.045, allocations: 7.938 kB / 1.257 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002814/1.046, allocations: 47.98 kB / 1.257 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006303/1.046, allocations: 194.1 kB / 1.258 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007423/1.054, allocations: 2.795 MB / 1.26 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/1.071, allocations: 10.45 MB / 1.27 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006176/1.077, allocations: 2.348 MB / 1.273 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002986/1.08, allocations: 1.278 MB / 1.274 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.993e-05/1.08, allocations: 9 kB / 1.274 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.08, allocations: 43.56 kB / 1.274 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=89): time 4.799e-06/1.08, allocations: 4 kB / 1.274 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153): time 0.05925/1.139, allocations: 16.5 MB / 1.29 GB, free: 8.707 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/1.14, allocations: 68.72 kB / 1.29 GB, free: 8.625 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/1.141, allocations: 1.176 MB / 1.291 GB, free: 7.438 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002267/1.142, allocations: 49.7 kB / 1.291 GB, free: 7.383 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/1.142, allocations: 0.7398 MB / 1.292 GB, free: 6.637 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005758/1.143, allocations: 0.5159 MB / 1.293 GB, free: 6.113 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006376/1.143, allocations: 287.4 kB / 1.293 GB, free: 5.828 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.144, allocations: 313.1 kB / 1.293 GB, free: 5.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/1.147, allocations: 1.507 MB / 1.295 GB, free: 4.012 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/1.151, allocations: 1.776 MB / 1.296 GB, free: 2.141 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007019/1.158, allocations: 3.373 MB / 1.3 GB, free: 14.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.158, allocations: 4 kB / 1.3 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01416/1.172, allocations: 5.269 MB / 1.305 GB, free: 9.359 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/1.172, allocations: 8 kB / 1.305 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/1.172, allocations: 12 kB / 1.305 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007061/1.179, allocations: 1.882 MB / 1.307 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/1.181, allocations: 427.2 kB / 1.307 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03093/1.212, allocations: 24.13 MB / 1.331 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/1.215, allocations: 303.5 kB / 1.331 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/1.215, allocations: 67.97 kB / 1.331 GB, free: 13.41 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001032/1.216, allocations: 473.4 kB / 1.332 GB, free: 12.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/1.216, allocations: 173.9 kB / 1.332 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/1.23, allocations: 5.32 MB / 1.337 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/1.23, allocations: 7.969 kB / 1.337 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.23, allocations: 0 / 1.337 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.231, allocations: 0.4988 MB / 1.337 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005201/1.232, allocations: 32 kB / 1.337 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/1.234, allocations: 291.5 kB / 1.338 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005033/1.235, allocations: 200.9 kB / 1.338 GB, free: 6.359 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01566/1.25, allocations: 5.6 MB / 1.343 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01155/1.262, allocations: 5.206 MB / 1.348 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003519/1.266, allocations: 1.661 MB / 1.35 GB, free: 9.832 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001388/1.267, allocations: 0.7899 MB / 1.351 GB, free: 9.043 MB / 1.076 GB Notification: Performance of Backend: time 7.32e-07/1.267, allocations: 0 / 1.351 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00997/1.277, allocations: 4.232 MB / 1.355 GB, free: 4.695 MB / 1.076 GB Notification: Performance of SimCode: time 0.008045/1.285, allocations: 4.748 MB / 1.36 GB, free: 15.92 MB / 1.092 GB Notification: Performance of Templates: time 0.0787/1.364, allocations: 51.21 MB / 1.41 GB, free: 13.16 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches