Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.ACLine_L_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001326, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.396/2.396, allocations: 390.2 MB / 0.6647 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8582/0.8596, allocations: 140.3 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04933/0.909, allocations: 34.85 MB / 0.9836 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02321/0.9323, allocations: 11.49 MB / 0.9948 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005913/0.9382, allocations: 163.2 kB / 0.995 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.012/0.9503, allocations: 4.248 MB / 0.9991 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007289/0.9576, allocations: 1.99 MB / 1.001 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008158/0.9658, allocations: 2.407 MB / 1.003 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01384/0.9797, allocations: 8.468 MB / 1.012 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01881/0.9986, allocations: 11.21 MB / 1.023 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006937/1.006, allocations: 3.728 MB / 1.026 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007368/1.013, allocations: 4.187 MB / 1.03 GB, free: 14.87 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002775/1.016, allocations: 0.7773 MB / 1.031 GB, free: 14.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005631/1.021, allocations: 2.028 MB / 1.033 GB, free: 12.06 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005432/1.027, allocations: 3.053 MB / 1.036 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008299/1.035, allocations: 3.4 MB / 1.039 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01855/1.054, allocations: 11.92 MB / 1.051 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.054, allocations: 0 / 1.051 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.684e-06/1.054, allocations: 0 / 1.051 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0004173/1.054, allocations: 0 / 1.051 GB, free: 9.637 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01584/1.07, allocations: 5.791 MB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.07, allocations: 12.03 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00682/1.077, allocations: 1.06 MB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006467/1.083, allocations: 3.262 MB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/1.084, allocations: 411.4 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/1.086, allocations: 0.5392 MB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02404/1.11, allocations: 9.087 MB / 1.071 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003676/1.11, allocations: 23.78 kB / 1.071 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/1.113, allocations: 236 kB / 1.071 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005444/1.113, allocations: 350.8 kB / 1.071 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/1.129, allocations: 6.83 MB / 1.078 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04984/1.179, allocations: 40.12 MB / 1.117 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/1.183, allocations: 3.106 MB / 1.12 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002782/1.186, allocations: 1.966 MB / 1.122 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/1.186, allocations: 22 kB / 1.122 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/1.186, allocations: 48.56 kB / 1.122 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 3.417e-06/1.186, allocations: 0 / 1.122 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.02549/1.212, allocations: 9.979 MB / 1.132 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/1.212, allocations: 77.41 kB / 1.132 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/1.214, allocations: 1.522 MB / 1.134 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002071/1.214, allocations: 57.7 kB / 1.134 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/1.216, allocations: 2.242 MB / 1.136 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007645/1.217, allocations: 0.6355 MB / 1.136 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007076/1.217, allocations: 411.8 kB / 1.137 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.218, allocations: 305.1 kB / 1.137 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/1.219, allocations: 1.179 MB / 1.138 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/1.222, allocations: 1.885 MB / 1.14 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/1.226, allocations: 3.375 MB / 1.143 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/1.226, allocations: 8 kB / 1.143 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008181/1.234, allocations: 4.569 MB / 1.148 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/1.234, allocations: 16 kB / 1.148 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.91e-05/1.234, allocations: 20.88 kB / 1.148 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00389/1.238, allocations: 1.596 MB / 1.149 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.24, allocations: 351.3 kB / 1.15 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02314/1.263, allocations: 18.61 MB / 1.168 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.265, allocations: 115.9 kB / 1.168 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/1.265, allocations: 99.98 kB / 1.168 GB, free: 12 MB / 0.9356 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003533/1.269, allocations: 1.89 MB / 1.17 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/1.269, allocations: 225.3 kB / 1.17 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006898/1.276, allocations: 4.098 MB / 1.174 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/1.276, allocations: 16 kB / 1.174 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/1.276, allocations: 20.38 kB / 1.174 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/1.276, allocations: 11.95 kB / 1.174 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/1.292, allocations: 9.473 MB / 1.183 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.292, allocations: 7.984 kB / 1.183 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008118/1.292, allocations: 183.7 kB / 1.184 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003286/1.296, allocations: 1.363 MB / 1.185 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/1.296, allocations: 32 kB / 1.185 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/1.317, allocations: 17.36 MB / 1.202 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.317, allocations: 7.938 kB / 1.202 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006701/1.324, allocations: 4.069 MB / 1.206 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.325, allocations: 0.5218 MB / 1.206 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/1.325, allocations: 39.94 kB / 1.207 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009331/1.326, allocations: 91.83 kB / 1.207 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004467/1.326, allocations: 161.7 kB / 1.207 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.327, allocations: 48 kB / 1.207 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001317/1.328, allocations: 1.005 MB / 1.208 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.328, allocations: 0 / 1.208 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002892/1.331, allocations: 0.9844 MB / 1.209 GB, free: 1.414 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000247/1.331, allocations: 143.1 kB / 1.209 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008065/1.339, allocations: 5.202 MB / 1.214 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.339, allocations: 0 / 1.214 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004108/1.343, allocations: 2.67 MB / 1.217 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/1.347, allocations: 0.7771 MB / 1.217 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/1.361, allocations: 8.701 MB / 1.226 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00416/1.366, allocations: 3.584 MB / 1.229 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001538/1.367, allocations: 463.9 kB / 1.23 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/1.367, allocations: 119.4 kB / 1.23 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of SimCode: time 1.031e-06/1.367, allocations: 0 / 1.23 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.6108/1.978, allocations: 43.89 MB / 1.273 GB, free: 266.5 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches