Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001603/0.001603, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001796/0.001797, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 60.12 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.135, allocations: 151.6 MB / 1.167 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.008218/1.143, allocations: 5.175 MB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006609/1.15, allocations: 3.798 MB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/1.15, allocations: 15.88 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/1.152, allocations: 0.5749 MB / 1.177 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001492/1.154, allocations: 491.9 kB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/1.155, allocations: 263.4 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001142/1.156, allocations: 0.7008 MB / 1.178 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000749/1.157, allocations: 0.5291 MB / 1.179 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/1.157, allocations: 367 kB / 1.179 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/1.158, allocations: 299 kB / 1.179 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/1.158, allocations: 44 kB / 1.179 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/1.158, allocations: 311.5 kB / 1.18 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/1.159, allocations: 167.5 kB / 1.18 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002794/1.159, allocations: 250.8 kB / 1.18 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/1.16, allocations: 0.8414 MB / 1.181 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.16, allocations: 0 / 1.181 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.194e-06/1.16, allocations: 0 / 1.181 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.515e-05/1.16, allocations: 0 / 1.181 GB, free: 6.18 MB / 0.9044 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.001703/1.162, allocations: 0.8181 MB / 1.182 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.162, allocations: 8.922 kB / 1.182 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/1.165, allocations: 0.6944 MB / 1.182 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/1.166, allocations: 472.4 kB / 1.183 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/1.166, allocations: 29.02 kB / 1.183 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/1.166, allocations: 32.12 kB / 1.183 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/1.168, allocations: 0.8317 MB / 1.184 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/1.168, allocations: 0 / 1.184 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/1.168, allocations: 12 kB / 1.184 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001935/1.168, allocations: 60.58 kB / 1.184 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/1.171, allocations: 0.9389 MB / 1.185 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004881/1.175, allocations: 2.87 MB / 1.187 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/1.177, allocations: 0.561 MB / 1.188 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000814/1.178, allocations: 312.6 kB / 1.188 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/1.178, allocations: 85.11 kB / 1.188 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/1.178, allocations: 38.55 kB / 1.188 GB, free: 14.06 MB / 0.92 GB Notification: Performance of pre-optimization done (n=22): time 2.334e-06/1.178, allocations: 3.938 kB / 1.188 GB, free: 14.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=36): time 0.0155/1.194, allocations: 3.874 MB / 1.192 GB, free: 10.15 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/1.194, allocations: 55.41 kB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/1.195, allocations: 425.5 kB / 1.193 GB, free: 9.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.792e-05/1.195, allocations: 37.7 kB / 1.193 GB, free: 9.617 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/1.195, allocations: 244.1 kB / 1.193 GB, free: 9.375 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.195, allocations: 114.3 kB / 1.193 GB, free: 9.262 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/1.195, allocations: 90.02 kB / 1.193 GB, free: 9.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.196, allocations: 350.8 kB / 1.193 GB, free: 8.816 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/1.197, allocations: 442.2 kB / 1.194 GB, free: 8.383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/1.198, allocations: 0.4969 MB / 1.194 GB, free: 7.852 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/1.2, allocations: 0.9266 MB / 1.195 GB, free: 6.898 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.2, allocations: 4 kB / 1.195 GB, free: 6.895 MB / 0.92 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006145/1.206, allocations: 1.83 MB / 1.197 GB, free: 5.051 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/1.207, allocations: 11.94 kB / 1.197 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.207, allocations: 0 / 1.197 GB, free: 5.039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/1.211, allocations: 0.9731 MB / 1.198 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/1.212, allocations: 123.8 kB / 1.198 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/1.223, allocations: 6.653 MB / 1.205 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/1.224, allocations: 112.3 kB / 1.205 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/1.224, allocations: 24.05 kB / 1.205 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001524/1.226, allocations: 0.6177 MB / 1.205 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001146/1.227, allocations: 496.5 kB / 1.206 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002209/1.229, allocations: 0.9055 MB / 1.207 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-06/1.229, allocations: 0 / 1.207 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.005267/1.235, allocations: 1.614 MB / 1.208 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.235, allocations: 6.344 kB / 1.208 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.235, allocations: 4 kB / 1.208 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/1.238, allocations: 0.6962 MB / 1.209 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007429/1.238, allocations: 135.8 kB / 1.209 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008465/1.247, allocations: 5.825 MB / 1.215 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/1.248, allocations: 107.9 kB / 1.215 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.983e-05/1.248, allocations: 19.98 kB / 1.215 GB, free: 2.102 MB / 0.9356 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.0002697/1.248, allocations: 200.5 kB / 1.215 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/1.248, allocations: 39.53 kB / 1.215 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005487/1.254, allocations: 1.736 MB / 1.217 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.254, allocations: 288 / 1.217 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.254, allocations: 4 kB / 1.217 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004058/1.254, allocations: 180.8 kB / 1.217 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/1.254, allocations: 15.92 kB / 1.217 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/1.255, allocations: 83.81 kB / 1.217 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/1.255, allocations: 43.67 kB / 1.217 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004397/1.26, allocations: 1.516 MB / 1.219 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002707/1.262, allocations: 1.39 MB / 1.22 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008071/1.263, allocations: 399.6 kB / 1.22 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005452/1.264, allocations: 327.1 kB / 1.221 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of Backend: time 5.61e-07/1.264, allocations: 0 / 1.221 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007604/1.271, allocations: 2.335 MB / 1.223 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of SimCode: time 0.003076/1.275, allocations: 1.633 MB / 1.224 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of Templates: time 0.03084/1.305, allocations: 18.98 MB / 1.243 GB, free: 5.184 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGridMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches