Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001515/0.001515, allocations: 112.9 kB / 16.42 MB, free: 6.457 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.002098/0.002098, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.08 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.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 67.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9093/0.911, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01463/0.9256, allocations: 11.97 MB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.9359, allocations: 5.705 MB / 1.106 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/0.9374, allocations: 40.94 kB / 1.106 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.9408, allocations: 1.046 MB / 1.107 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.943, allocations: 0.6818 MB / 1.108 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.946, allocations: 0.9747 MB / 1.109 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003713/0.9497, allocations: 2.584 MB / 1.111 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005699/0.9554, allocations: 3.781 MB / 1.115 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.9581, allocations: 1.211 MB / 1.116 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.9609, allocations: 1.324 MB / 1.117 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009776/0.9619, allocations: 256.1 kB / 1.118 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.9639, allocations: 0.5682 MB / 1.118 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.9654, allocations: 0.942 MB / 1.119 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.9669, allocations: 1.066 MB / 1.12 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005143/0.972, allocations: 3.85 MB / 1.124 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.9721, allocations: 0.5156 kB / 1.124 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9721, allocations: 3.938 kB / 1.124 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.082e-05/0.9722, allocations: 1.219 kB / 1.124 GB, free: 1.938 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.007093/0.9793, allocations: 2.089 MB / 1.126 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.9794, allocations: 12.38 kB / 1.126 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/0.9835, allocations: 0.7442 MB / 1.127 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/0.9866, allocations: 1.222 MB / 1.128 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-05/0.9867, allocations: 120.1 kB / 1.128 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.9871, allocations: 161.5 kB / 1.128 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006001/0.9931, allocations: 2.954 MB / 1.131 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.9932, allocations: 18.78 kB / 1.131 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.9934, allocations: 62.84 kB / 1.131 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004108/0.9938, allocations: 168.4 kB / 1.131 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004765/0.9986, allocations: 2.511 MB / 1.134 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/1.012, allocations: 10.74 MB / 1.144 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/1.014, allocations: 0.9571 MB / 1.145 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/1.015, allocations: 0.5087 MB / 1.146 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/1.015, allocations: 89 kB / 1.146 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/1.015, allocations: 39.31 kB / 1.146 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=46): time 2.795e-06/1.015, allocations: 0 / 1.146 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.0332/1.048, allocations: 8.07 MB / 1.154 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/1.048, allocations: 60.09 kB / 1.154 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/1.05, allocations: 0.9302 MB / 1.154 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/1.051, allocations: 41.3 kB / 1.155 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/1.051, allocations: 0.7729 MB / 1.155 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/1.052, allocations: 245.4 kB / 1.156 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005546/1.052, allocations: 218.4 kB / 1.156 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002504/1.053, allocations: 401.1 kB / 1.156 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/1.054, allocations: 0.8067 MB / 1.157 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/1.056, allocations: 1.152 MB / 1.158 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/1.06, allocations: 1.997 MB / 1.16 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/1.06, allocations: 2.75 kB / 1.16 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01065/1.07, allocations: 3.664 MB / 1.164 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/1.07, allocations: 14.03 kB / 1.164 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/1.07, allocations: 10.31 kB / 1.164 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007932/1.078, allocations: 1.898 MB / 1.165 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.08, allocations: 240.9 kB / 1.166 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/1.097, allocations: 10.58 MB / 1.176 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/1.099, allocations: 178.6 kB / 1.176 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/1.099, allocations: 50.17 kB / 1.176 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00368/1.103, allocations: 1.526 MB / 1.178 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001744/1.105, allocations: 1.128 MB / 1.179 GB, free: 15.89 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00329/1.108, allocations: 1.935 MB / 1.181 GB, free: 13.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.518e-05/1.108, allocations: 4 kB / 1.181 GB, free: 13.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.008659/1.117, allocations: 3.1 MB / 1.184 GB, free: 10.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.117, allocations: 12 kB / 1.184 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/1.117, allocations: 15.94 kB / 1.184 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004822/1.122, allocations: 1.199 MB / 1.185 GB, free: 9.453 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.123, allocations: 283.5 kB / 1.185 GB, free: 9.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008747/1.132, allocations: 5.842 MB / 1.191 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/1.133, allocations: 175.8 kB / 1.191 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001906/1.134, allocations: 44 kB / 1.191 GB, free: 2.977 MB / 0.92 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.0004865/1.134, allocations: 247.8 kB / 1.191 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/1.134, allocations: 90.95 kB / 1.191 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008991/1.143, allocations: 3.168 MB / 1.195 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/1.144, allocations: 11.92 kB / 1.195 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.144, allocations: 0 / 1.195 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008453/1.144, allocations: 320 kB / 1.195 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000325/1.145, allocations: 11.98 kB / 1.195 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.146, allocations: 135.8 kB / 1.195 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/1.146, allocations: 72.53 kB / 1.195 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006685/1.153, allocations: 2.824 MB / 1.198 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003381/1.156, allocations: 2.387 MB / 1.2 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001017/1.157, allocations: 0.7623 MB / 1.201 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001244/1.159, allocations: 0.6785 MB / 1.202 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of Backend: time 4.31e-07/1.159, allocations: 3.938 kB / 1.202 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007331/1.166, allocations: 3.18 MB / 1.205 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of SimCode: time 0.007189/1.173, allocations: 3.727 MB / 1.208 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of Templates: time 0.05477/1.228, allocations: 35.94 MB / 1.243 GB, free: 13.48 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches