Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 111.1 kB / 16.42 MB, free: 6.512 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.001176/0.001176, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8781/0.8798, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.006287/0.8861, allocations: 5.164 MB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005475/0.8916, allocations: 3.79 MB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004099/0.8921, allocations: 11.78 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.8942, allocations: 0.5765 MB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.8958, allocations: 499.8 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009429/0.8968, allocations: 266.9 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.8981, allocations: 0.6901 MB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008381/0.8989, allocations: 0.5327 MB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.8995, allocations: 367.6 kB / 1.1 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.9001, allocations: 301 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.605e-05/0.9002, allocations: 47.97 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006935/0.9009, allocations: 305.9 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.9011, allocations: 172 kB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.9014, allocations: 249.1 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.9029, allocations: 0.8453 MB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9029, allocations: 5.062 kB / 1.102 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9029, allocations: 0 / 1.102 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.9029, allocations: 0 / 1.102 GB, free: 13.31 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001885/0.9048, allocations: 0.8039 MB / 1.103 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.9049, allocations: 10.53 kB / 1.103 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.9084, allocations: 0.6933 MB / 1.104 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.9094, allocations: 482.9 kB / 1.104 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.9095, allocations: 20.88 kB / 1.104 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.9096, allocations: 35.88 kB / 1.104 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.9116, allocations: 0.8333 MB / 1.105 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.9117, allocations: 1 kB / 1.105 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.214e-05/0.9118, allocations: 19.98 kB / 1.105 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002054/0.912, allocations: 57.14 kB / 1.105 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.9144, allocations: 0.9322 MB / 1.106 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004685/0.9191, allocations: 2.865 MB / 1.109 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.921, allocations: 0.5569 MB / 1.109 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008736/0.9219, allocations: 307.5 kB / 1.109 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.922, allocations: 90.52 kB / 1.11 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.922, allocations: 41.22 kB / 1.11 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.715e-06/0.9221, allocations: 0 / 1.11 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36): time 0.01572/0.9378, allocations: 3.874 MB / 1.113 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.9379, allocations: 60.31 kB / 1.113 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.9386, allocations: 431.9 kB / 1.114 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.639e-05/0.9387, allocations: 30.92 kB / 1.114 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.9389, allocations: 239.4 kB / 1.114 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.939, allocations: 126.1 kB / 1.114 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.9393, allocations: 91.92 kB / 1.114 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.9394, allocations: 350.5 kB / 1.115 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.9405, allocations: 435.9 kB / 1.115 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.9417, allocations: 0.4981 MB / 1.116 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/0.944, allocations: 0.9236 MB / 1.116 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.944, allocations: 1.844 kB / 1.116 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006181/0.9502, allocations: 1.836 MB / 1.118 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.9502, allocations: 11.36 kB / 1.118 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9502, allocations: 10.5 kB / 1.118 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004481/0.9547, allocations: 0.9698 MB / 1.119 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.9555, allocations: 125.7 kB / 1.119 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.9676, allocations: 6.65 MB / 1.126 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.9688, allocations: 105.8 kB / 1.126 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.9689, allocations: 19.94 kB / 1.126 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001733/0.9706, allocations: 0.6214 MB / 1.127 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001238/0.9719, allocations: 498.7 kB / 1.127 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002354/0.9742, allocations: 0.8898 MB / 1.128 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.9743, allocations: 0.9062 kB / 1.128 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.005698/0.98, allocations: 1.62 MB / 1.13 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.98, allocations: 8.328 kB / 1.13 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.98, allocations: 2.219 kB / 1.13 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003224/0.9832, allocations: 0.7014 MB / 1.13 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/0.984, allocations: 136.9 kB / 1.13 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008625/0.9927, allocations: 5.816 MB / 1.136 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.9937, allocations: 109 kB / 1.136 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.9939, allocations: 19.36 kB / 1.136 GB, free: 12.79 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002953/0.9942, allocations: 206.7 kB / 1.136 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.9944, allocations: 38.88 kB / 1.136 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/1, allocations: 1.728 MB / 1.138 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1, allocations: 0 / 1.138 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1, allocations: 1.438 kB / 1.138 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/1.001, allocations: 184.3 kB / 1.138 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.001, allocations: 10.44 kB / 1.138 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/1.001, allocations: 94.27 kB / 1.138 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/1.002, allocations: 46.39 kB / 1.138 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004475/1.006, allocations: 1.513 MB / 1.14 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00269/1.009, allocations: 1.392 MB / 1.141 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008138/1.01, allocations: 400.2 kB / 1.142 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004762/1.01, allocations: 328.7 kB / 1.142 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of Backend: time 4.41e-07/1.01, allocations: 0 / 1.142 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007029/1.017, allocations: 2.337 MB / 1.144 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of SimCode: time 0.002441/1.02, allocations: 1.617 MB / 1.146 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of Templates: time 0.03793/1.058, allocations: 18.98 MB / 1.164 GB, free: 13.22 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches