Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 113.6 kB / 16.42 MB, free: 6.465 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.00127/0.00127, allocations: 187.9 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.13 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.314/2.314, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001507, allocations: 59.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9313/0.9328, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04299/0.9759, allocations: 32.6 MB / 1.12 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.996, allocations: 10.26 MB / 1.13 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/1, allocations: 148.9 kB / 1.131 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01005/1.01, allocations: 3.718 MB / 1.134 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007341/1.018, allocations: 1.954 MB / 1.136 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008948/1.027, allocations: 2.133 MB / 1.138 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01477/1.042, allocations: 7.343 MB / 1.145 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01727/1.059, allocations: 9.416 MB / 1.155 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007878/1.067, allocations: 3.224 MB / 1.158 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007822/1.075, allocations: 3.488 MB / 1.161 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002928/1.078, allocations: 0.6452 MB / 1.162 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00631/1.084, allocations: 1.769 MB / 1.164 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006086/1.09, allocations: 2.552 MB / 1.166 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01018/1.1, allocations: 2.897 MB / 1.169 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01986/1.12, allocations: 10.11 MB / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.12, allocations: 1.031 kB / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.512e-06/1.12, allocations: 0 / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003806/1.121, allocations: 0 / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0186/1.139, allocations: 5 MB / 1.184 GB, free: 11.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.139, allocations: 8.625 kB / 1.184 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00741/1.147, allocations: 0.9534 MB / 1.185 GB, free: 10.8 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008318/1.155, allocations: 3.047 MB / 1.188 GB, free: 8.582 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/1.155, allocations: 349.7 kB / 1.188 GB, free: 8.238 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/1.157, allocations: 464.2 kB / 1.188 GB, free: 7.785 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01908/1.176, allocations: 7.667 MB / 1.196 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002105/1.177, allocations: 23.78 kB / 1.196 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001489/1.178, allocations: 200 kB / 1.196 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000448/1.179, allocations: 316.9 kB / 1.196 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/1.191, allocations: 5.706 MB / 1.202 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04104/1.232, allocations: 34.83 MB / 1.236 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/1.235, allocations: 2.149 MB / 1.238 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/1.236, allocations: 1.264 MB / 1.239 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-05/1.236, allocations: 13.31 kB / 1.239 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/1.236, allocations: 47.86 kB / 1.239 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 4.128e-06/1.236, allocations: 0 / 1.239 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01396/1.25, allocations: 7.088 MB / 1.246 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/1.25, allocations: 68.72 kB / 1.246 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/1.253, allocations: 1.488 MB / 1.248 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/1.253, allocations: 49.7 kB / 1.248 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/1.254, allocations: 2 MB / 1.25 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/1.254, allocations: 493 kB / 1.25 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005275/1.255, allocations: 351.1 kB / 1.251 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/1.255, allocations: 301.1 kB / 1.251 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/1.256, allocations: 0.9096 MB / 1.252 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.258, allocations: 1.605 MB / 1.253 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003087/1.261, allocations: 2.729 MB / 1.256 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/1.261, allocations: 8 kB / 1.256 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005796/1.267, allocations: 3.526 MB / 1.259 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/1.267, allocations: 19.98 kB / 1.259 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/1.267, allocations: 20.91 kB / 1.259 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/1.27, allocations: 0.9076 MB / 1.26 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.271, allocations: 347.4 kB / 1.261 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0216/1.292, allocations: 23.09 MB / 1.283 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/1.295, allocations: 103.9 kB / 1.283 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004128/1.295, allocations: 88.16 kB / 1.283 GB, free: 15.95 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003507/1.299, allocations: 1.609 MB / 1.285 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/1.299, allocations: 209.5 kB / 1.285 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005633/1.305, allocations: 2.99 MB / 1.288 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/1.305, allocations: 15.91 kB / 1.288 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.305, allocations: 0 / 1.288 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.306, allocations: 450.5 kB / 1.289 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005389/1.307, allocations: 31.98 kB / 1.289 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.308, allocations: 59.92 kB / 1.289 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/1.308, allocations: 129.1 kB / 1.289 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00629/1.314, allocations: 3.107 MB / 1.292 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004238/1.318, allocations: 3.274 MB / 1.295 GB, free: 3.945 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001167/1.32, allocations: 0.9626 MB / 1.296 GB, free: 2.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001551/1.321, allocations: 0.9717 MB / 1.297 GB, free: 1.984 MB / 1.029 GB Notification: Performance of Backend: time 4.81e-07/1.321, allocations: 0 / 1.297 GB, free: 1.984 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007667/1.329, allocations: 3.887 MB / 1.301 GB, free: 13.94 MB / 1.045 GB Notification: Performance of SimCode: time 0.01713/1.346, allocations: 8.091 MB / 1.309 GB, free: 5.824 MB / 1.045 GB Notification: Performance of Templates: time 0.07715/1.423, allocations: 42.87 MB / 1.35 GB, free: 11.39 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches