Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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 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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 116.2 kB / 16.42 MB, free: 6.516 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.001809/0.001809, allocations: 187.9 kB / 17.34 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 60.12 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.922/0.9235, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01538/0.939, allocations: 11.97 MB / 1.22 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009191/0.9482, allocations: 5.715 MB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.9494, allocations: 43.81 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.9527, allocations: 1.041 MB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.9546, allocations: 0.6763 MB / 1.227 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.9572, allocations: 0.9739 MB / 1.228 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003033/0.9603, allocations: 2.584 MB / 1.231 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004393/0.9647, allocations: 3.787 MB / 1.235 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.9665, allocations: 1.2 MB / 1.236 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002069/0.9686, allocations: 1.34 MB / 1.237 GB, free: 132 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006232/0.9692, allocations: 252 kB / 1.237 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.9707, allocations: 0.5618 MB / 1.238 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.9718, allocations: 0.9395 MB / 1.239 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/0.9737, allocations: 1.066 MB / 1.24 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004104/0.9778, allocations: 3.847 MB / 1.244 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9778, allocations: 0 / 1.244 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9778, allocations: 0 / 1.244 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.545e-05/0.9779, allocations: 0 / 1.244 GB, free: 9.453 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005026/0.983, allocations: 2.096 MB / 1.246 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.983, allocations: 8.031 kB / 1.246 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/0.9866, allocations: 0.7362 MB / 1.246 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.9892, allocations: 1.224 MB / 1.248 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.9894, allocations: 123.6 kB / 1.248 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005717/0.99, allocations: 164 kB / 1.248 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006231/0.9962, allocations: 2.952 MB / 1.251 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.457e-05/0.9963, allocations: 19.92 kB / 1.251 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/0.9966, allocations: 64 kB / 1.251 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003689/0.997, allocations: 167.1 kB / 1.251 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00471/1.002, allocations: 2.515 MB / 1.253 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/1.016, allocations: 10.74 MB / 1.264 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/1.017, allocations: 0.9471 MB / 1.265 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/1.018, allocations: 0.5153 MB / 1.265 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/1.018, allocations: 89.47 kB / 1.265 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.018, allocations: 38.94 kB / 1.265 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=46): time 3.016e-06/1.018, allocations: 0 / 1.265 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.0288/1.047, allocations: 8.07 MB / 1.273 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/1.047, allocations: 59.97 kB / 1.273 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/1.049, allocations: 0.9259 MB / 1.274 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/1.049, allocations: 41.7 kB / 1.274 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/1.049, allocations: 0.7736 MB / 1.275 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/1.05, allocations: 248.5 kB / 1.275 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/1.05, allocations: 214.8 kB / 1.276 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.05, allocations: 402.7 kB / 1.276 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.052, allocations: 0.8062 MB / 1.277 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/1.053, allocations: 1.147 MB / 1.278 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/1.057, allocations: 2.001 MB / 1.28 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/1.057, allocations: 4 kB / 1.28 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009932/1.067, allocations: 3.663 MB / 1.283 GB, free: 15.12 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/1.067, allocations: 16 kB / 1.283 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/1.067, allocations: 8 kB / 1.283 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007343/1.074, allocations: 1.9 MB / 1.285 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.075, allocations: 235.5 kB / 1.285 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/1.091, allocations: 10.59 MB / 1.296 GB, free: 2.105 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/1.093, allocations: 179.7 kB / 1.296 GB, free: 1.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/1.093, allocations: 47.98 kB / 1.296 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002488/1.096, allocations: 1.525 MB / 1.297 GB, free: 360 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001631/1.097, allocations: 1.131 MB / 1.299 GB, free: 15.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003333/1.101, allocations: 1.935 MB / 1.3 GB, free: 12.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.206e-05/1.101, allocations: 4 kB / 1.3 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007899/1.109, allocations: 3.1 MB / 1.304 GB, free: 9.863 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/1.109, allocations: 12 kB / 1.304 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/1.109, allocations: 11.94 kB / 1.304 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004711/1.113, allocations: 1.199 MB / 1.305 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.115, allocations: 283.5 kB / 1.305 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008793/1.123, allocations: 5.846 MB / 1.311 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.125, allocations: 175.7 kB / 1.311 GB, free: 2.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/1.125, allocations: 48 kB / 1.311 GB, free: 2.156 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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 {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004355/1.126, allocations: 247.8 kB / 1.311 GB, free: 1.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/1.126, allocations: 86.97 kB / 1.311 GB, free: 1.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008611/1.135, allocations: 3.168 MB / 1.314 GB, free: 14.63 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.744e-05/1.135, allocations: 3.984 kB / 1.314 GB, free: 14.63 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.135, allocations: 4 kB / 1.314 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/1.136, allocations: 316 kB / 1.315 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/1.136, allocations: 23.83 kB / 1.315 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.137, allocations: 131.8 kB / 1.315 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/1.137, allocations: 76.53 kB / 1.315 GB, free: 14.07 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006422/1.144, allocations: 2.816 MB / 1.318 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003367/1.147, allocations: 2.387 MB / 1.32 GB, free: 8.832 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001008/1.148, allocations: 0.7623 MB / 1.321 GB, free: 8.07 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001134/1.149, allocations: 0.6785 MB / 1.321 GB, free: 7.398 MB / 1.045 GB Notification: Performance of Backend: time 5.01e-07/1.149, allocations: 0 / 1.321 GB, free: 7.398 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006596/1.156, allocations: 3.164 MB / 1.324 GB, free: 4.188 MB / 1.045 GB Notification: Performance of SimCode: time 0.006543/1.162, allocations: 3.732 MB / 1.328 GB, free: 420 kB / 1.045 GB Notification: Performance of Templates: time 0.05762/1.22, allocations: 36.49 MB / 1.364 GB, free: 12.12 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches