Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001497/0.001497, allocations: 107.4 kB / 15.99 MB, free: 6.348 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.001491/0.001491, allocations: 200 kB / 16.91 MB, free: 6.188 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.52 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3175, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.5069/0.8244, allocations: 34.51 MB / 1.098 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01764/0.8421, allocations: 11.39 MB / 1.109 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/0.8464, allocations: 147.8 kB / 1.109 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01087/0.8573, allocations: 4.01 MB / 1.113 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008818/0.8661, allocations: 1.822 MB / 1.115 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008613/0.8748, allocations: 2.191 MB / 1.117 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01638/0.8912, allocations: 8.479 MB / 1.125 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02177/0.913, allocations: 13.44 MB / 1.138 GB, free: 456 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007267/0.9203, allocations: 3.791 MB / 1.142 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007902/0.9282, allocations: 4.398 MB / 1.146 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.003006/0.9313, allocations: 0.7796 MB / 1.147 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007375/0.9386, allocations: 2.022 MB / 1.149 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.006915/0.9456, allocations: 3.057 MB / 1.152 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.01087/0.9565, allocations: 3.404 MB / 1.155 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.9713, allocations: 10.26 MB / 1.165 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.9713, allocations: 0 / 1.165 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9713, allocations: 0 / 1.165 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003142/0.9716, allocations: 2.875 kB / 1.165 GB, free: 1.609 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01487/0.9865, allocations: 5.793 MB / 1.171 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.9866, allocations: 8.031 kB / 1.171 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006197/0.9928, allocations: 1.064 MB / 1.172 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006645/0.9994, allocations: 3.255 MB / 1.175 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.9998, allocations: 415.5 kB / 1.176 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/1.001, allocations: 0.5354 MB / 1.176 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/1.021, allocations: 9.079 MB / 1.185 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002128/1.021, allocations: 31.69 kB / 1.185 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001328/1.022, allocations: 236 kB / 1.185 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004145/1.023, allocations: 346.8 kB / 1.186 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/1.037, allocations: 6.83 MB / 1.192 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0537/1.091, allocations: 40.12 MB / 1.232 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/1.096, allocations: 3.114 MB / 1.235 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003079/1.099, allocations: 1.966 MB / 1.236 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/1.099, allocations: 21.98 kB / 1.237 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/1.099, allocations: 52.56 kB / 1.237 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 3.466e-06/1.099, allocations: 0 / 1.237 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.02683/1.126, allocations: 9.981 MB / 1.246 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/1.126, allocations: 69.41 kB / 1.246 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/1.129, allocations: 1.53 MB / 1.248 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002916/1.129, allocations: 53.7 kB / 1.248 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001785/1.131, allocations: 2.253 MB / 1.25 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008829/1.132, allocations: 0.6316 MB / 1.251 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008864/1.133, allocations: 403.9 kB / 1.251 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.133, allocations: 313.1 kB / 1.251 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/1.135, allocations: 1.176 MB / 1.253 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/1.137, allocations: 1.885 MB / 1.254 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005038/1.142, allocations: 3.371 MB / 1.258 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.93e-05/1.142, allocations: 4 kB / 1.258 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.009352/1.152, allocations: 4.585 MB / 1.262 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/1.152, allocations: 12 kB / 1.262 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.364e-05/1.152, allocations: 28.16 kB / 1.262 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004045/1.156, allocations: 1.586 MB / 1.264 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.157, allocations: 347.4 kB / 1.264 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/1.182, allocations: 18.61 MB / 1.282 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/1.184, allocations: 120.3 kB / 1.282 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004139/1.185, allocations: 92 kB / 1.282 GB, free: 5.449 MB / 0.9981 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.004011/1.189, allocations: 1.9 MB / 1.284 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006104/1.189, allocations: 221.4 kB / 1.285 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007493/1.197, allocations: 4.098 MB / 1.289 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/1.197, allocations: 16 kB / 1.289 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.544e-05/1.197, allocations: 20 kB / 1.289 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.197, allocations: 7.969 kB / 1.289 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/1.215, allocations: 9.473 MB / 1.298 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.215, allocations: 8.5 kB / 1.298 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/1.216, allocations: 187.7 kB / 1.298 GB, free: 5.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/1.219, allocations: 1.363 MB / 1.299 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/1.219, allocations: 32 kB / 1.299 GB, free: 3.836 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02447/1.244, allocations: 17.36 MB / 1.316 GB, free: 1.906 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.244, allocations: 7.938 kB / 1.316 GB, free: 1.898 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008003/1.252, allocations: 4.065 MB / 1.32 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/1.253, allocations: 0.5256 MB / 1.321 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005912/1.254, allocations: 36 kB / 1.321 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.255, allocations: 87.89 kB / 1.321 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005048/1.256, allocations: 165.6 kB / 1.321 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/1.256, allocations: 48 kB / 1.321 GB, free: 12.87 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001935/1.258, allocations: 1.005 MB / 1.322 GB, free: 11.84 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.7e-07/1.258, allocations: 0 / 1.322 GB, free: 11.84 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00386/1.262, allocations: 0.9883 MB / 1.323 GB, free: 10.85 MB / 1.045 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.0003261/1.262, allocations: 145.3 kB / 1.323 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.009663/1.272, allocations: 5.194 MB / 1.328 GB, free: 5.461 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.272, allocations: 5 kB / 1.328 GB, free: 5.457 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.004868/1.277, allocations: 2.673 MB / 1.331 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/1.281, allocations: 0.7746 MB / 1.332 GB, free: 1.988 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/1.303, allocations: 11.78 MB / 1.343 GB, free: 6.129 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00678/1.31, allocations: 3.67 MB / 1.347 GB, free: 2.422 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/1.31, allocations: 123.4 kB / 1.347 GB, free: 2.301 MB / 1.061 GB Notification: Performance of SimCode: time 8.31e-07/1.31, allocations: 0 / 1.347 GB, free: 2.301 MB / 1.061 GB Notification: Performance of Templates: time 0.2144/1.525, allocations: 159.4 MB / 1.503 GB, free: 2.84 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches