Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001775/0.001775, allocations: 194.9 kB / 16.25 MB, free: 6.637 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.59/2.59, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 64.14 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.78/0.7814, allocations: 140.4 MB / 0.9491 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02885/0.8102, allocations: 23.23 MB / 0.9718 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.8249, allocations: 6.44 MB / 0.9781 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004619/0.8296, allocations: 84.59 kB / 0.9782 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005613/0.8352, allocations: 1.365 MB / 0.9795 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00749/0.8427, allocations: 1.7 MB / 0.9812 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005224/0.848, allocations: 1.335 MB / 0.9825 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.8582, allocations: 6.932 MB / 0.9892 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01409/0.8723, allocations: 8.145 MB / 0.9972 GB, free: 0.8125 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005417/0.8778, allocations: 2.878 MB / 1 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/0.8839, allocations: 3.693 MB / 1.004 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002015/0.8859, allocations: 0.5273 MB / 1.004 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004143/0.8901, allocations: 1.178 MB / 1.005 GB, free: 8.516 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.004251/0.8944, allocations: 2.475 MB / 1.008 GB, free: 6.035 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.005765/0.9001, allocations: 2.532 MB / 1.01 GB, free: 3.492 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.9115, allocations: 8.518 MB / 1.018 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.9115, allocations: 8 kB / 1.018 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9115, allocations: 0 / 1.018 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000293/0.9118, allocations: 0 / 1.018 GB, free: 10.94 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01204/0.9239, allocations: 4.424 MB / 1.023 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.9239, allocations: 8.031 kB / 1.023 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009015/0.933, allocations: 1.677 MB / 1.024 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/0.9383, allocations: 2.579 MB / 1.027 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.9386, allocations: 271.7 kB / 1.027 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.94, allocations: 364.3 kB / 1.028 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/0.9558, allocations: 7.483 MB / 1.035 GB, free: 9.754 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/0.956, allocations: 23.77 kB / 1.035 GB, free: 9.73 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009442/0.9569, allocations: 155.9 kB / 1.035 GB, free: 9.578 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006025/0.9575, allocations: 487.3 kB / 1.036 GB, free: 9.102 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.9684, allocations: 5.697 MB / 1.041 GB, free: 3.398 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04046/1.009, allocations: 31.73 MB / 1.072 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/1.012, allocations: 2.086 MB / 1.074 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/1.015, allocations: 2.178 MB / 1.076 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/1.015, allocations: 13.31 kB / 1.076 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.015, allocations: 51.88 kB / 1.076 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=146): time 3.337e-06/1.015, allocations: 0 / 1.076 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=251): time 0.2918/1.307, allocations: 77 MB / 1.151 GB, free: 15.39 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/1.307, allocations: 77.41 kB / 1.152 GB, free: 15.31 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/1.31, allocations: 1.67 MB / 1.153 GB, free: 13.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005716/1.311, allocations: 65.7 kB / 1.153 GB, free: 13.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/1.312, allocations: 1.747 MB / 1.155 GB, free: 11.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.313, allocations: 0.8509 MB / 1.156 GB, free: 10.89 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.314, allocations: 493.1 kB / 1.156 GB, free: 10.4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.314, allocations: 301.1 kB / 1.157 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/1.318, allocations: 2.73 MB / 1.159 GB, free: 7.371 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004787/1.323, allocations: 3.328 MB / 1.162 GB, free: 3.797 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009095/1.332, allocations: 6.393 MB / 1.169 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/1.332, allocations: 8 kB / 1.169 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03333/1.366, allocations: 14.68 MB / 1.183 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/1.366, allocations: 12 kB / 1.183 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/1.366, allocations: 16 kB / 1.183 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0304/1.396, allocations: 9.303 MB / 1.192 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.398, allocations: 303.4 kB / 1.192 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08259/1.48, allocations: 52.38 MB / 1.244 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/1.484, allocations: 223.7 kB / 1.244 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000647/1.484, allocations: 100 kB / 1.244 GB, free: 15.19 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005213/1.489, allocations: 1.586 MB / 1.245 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.491, allocations: 249 kB / 1.246 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.667/2.158, allocations: 14.74 MB / 1.26 GB, free: 276.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.472e-05/2.158, allocations: 24.16 kB / 1.26 GB, free: 276.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002017/2.158, allocations: 48 kB / 1.26 GB, free: 276.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.05e-05/2.158, allocations: 12.84 kB / 1.26 GB, free: 276.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04272/2.201, allocations: 20.52 MB / 1.28 GB, free: 272 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.172e-05/2.201, allocations: 10.22 kB / 1.28 GB, free: 272 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008067/2.202, allocations: 159.9 kB / 1.28 GB, free: 272 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02878/2.231, allocations: 9.064 MB / 1.289 GB, free: 270.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007072/2.231, allocations: 47.66 kB / 1.289 GB, free: 270.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06548/2.297, allocations: 51.95 MB / 1.34 GB, free: 229.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/2.297, allocations: 11.88 kB / 1.34 GB, free: 229.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02726/2.324, allocations: 14.36 MB / 1.354 GB, free: 214.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/2.326, allocations: 0.8455 MB / 1.355 GB, free: 214.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005448/2.327, allocations: 51.94 kB / 1.355 GB, free: 214 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/2.329, allocations: 203.7 kB / 1.355 GB, free: 213.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/2.33, allocations: 241.5 kB / 1.355 GB, free: 213.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/2.331, allocations: 64 kB / 1.355 GB, free: 213.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001365/2.332, allocations: 1.129 MB / 1.357 GB, free: 212.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.61e-07/2.332, allocations: 0 / 1.357 GB, free: 212.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004571/2.337, allocations: 1.613 MB / 1.358 GB, free: 210.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004292/2.337, allocations: 161.3 kB / 1.358 GB, free: 210.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02066/2.358, allocations: 11.34 MB / 1.369 GB, free: 199.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/2.358, allocations: 3.938 kB / 1.369 GB, free: 199.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01512/2.373, allocations: 7.303 MB / 1.376 GB, free: 191.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/2.376, allocations: 0.5524 MB / 1.377 GB, free: 191.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/2.395, allocations: 10.61 MB / 1.387 GB, free: 180.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005198/2.4, allocations: 3.235 MB / 1.391 GB, free: 177.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001555/2.402, allocations: 395.3 kB / 1.391 GB, free: 177 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/2.402, allocations: 95.44 kB / 1.391 GB, free: 176.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.863e-06/2.402, allocations: 0 / 1.391 GB, free: 176.9 MB / 1.014 GB Notification: Performance of Templates: time 0.1321/2.534, allocations: 93.08 MB / 1.482 GB, free: 84.14 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches