Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001137/0.001137, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001057/0.001057, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.568/2.568, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.8 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3094, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02473/0.3342, allocations: 23.42 MB / 1.05 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3451, allocations: 6.496 MB / 1.056 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.3474, allocations: 99.5 kB / 1.056 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00401/0.3514, allocations: 1.488 MB / 1.057 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.356, allocations: 1.832 MB / 1.059 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.3598, allocations: 1.453 MB / 1.061 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009874/0.3697, allocations: 6.904 MB / 1.067 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.3799, allocations: 6.949 MB / 1.074 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5785/0.9584, allocations: 2.843 MB / 1.077 GB, free: 25.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006992/0.9655, allocations: 3.466 MB / 1.08 GB, free: 24.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002512/0.968, allocations: 0.5277 MB / 1.081 GB, free: 24.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005023/0.9731, allocations: 1.178 MB / 1.082 GB, free: 24.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005942/0.979, allocations: 2.46 MB / 1.084 GB, free: 24.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.008205/0.9873, allocations: 2.538 MB / 1.087 GB, free: 24.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0169/1.004, allocations: 8.515 MB / 1.095 GB, free: 23.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/1.004, allocations: 0.6094 kB / 1.095 GB, free: 23.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.457e-06/1.004, allocations: 5.062 kB / 1.095 GB, free: 23.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004008/1.005, allocations: 0 / 1.095 GB, free: 23.39 MB / 0.8419 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.01863/1.023, allocations: 4.433 MB / 1.1 GB, free: 21.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.023, allocations: 8.781 kB / 1.1 GB, free: 21.63 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/1.034, allocations: 1.683 MB / 1.101 GB, free: 21.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008456/1.042, allocations: 2.698 MB / 1.104 GB, free: 20.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003525/1.043, allocations: 275.4 kB / 1.104 GB, free: 20.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002652/1.045, allocations: 359.1 kB / 1.104 GB, free: 19.97 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/1.065, allocations: 7.484 MB / 1.112 GB, free: 17.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/1.066, allocations: 19.78 kB / 1.112 GB, free: 17.06 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007648/1.066, allocations: 163.8 kB / 1.112 GB, free: 16.96 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006903/1.067, allocations: 486.9 kB / 1.112 GB, free: 16.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/1.08, allocations: 5.695 MB / 1.118 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0425/1.123, allocations: 31.49 MB / 1.149 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/1.126, allocations: 2.088 MB / 1.151 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/1.129, allocations: 2.178 MB / 1.153 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/1.129, allocations: 16.06 kB / 1.153 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.129, allocations: 49.03 kB / 1.153 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=146): time 3.527e-06/1.129, allocations: 0 / 1.153 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=251): time 0.2761/1.405, allocations: 77.01 MB / 1.228 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/1.405, allocations: 77.41 kB / 1.228 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/1.408, allocations: 1.67 MB / 1.23 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0005911/1.408, allocations: 65.7 kB / 1.23 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/1.409, allocations: 1.75 MB / 1.232 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009615/1.41, allocations: 0.8499 MB / 1.232 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/1.411, allocations: 493.2 kB / 1.233 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/1.412, allocations: 304.5 kB / 1.233 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003583/1.415, allocations: 2.73 MB / 1.236 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003953/1.419, allocations: 3.331 MB / 1.239 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007941/1.427, allocations: 6.391 MB / 1.245 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/1.427, allocations: 11.98 kB / 1.245 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03045/1.458, allocations: 14.67 MB / 1.26 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/1.458, allocations: 13 kB / 1.26 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/1.458, allocations: 18.91 kB / 1.26 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02793/1.486, allocations: 9.241 MB / 1.269 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.487, allocations: 301.2 kB / 1.269 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07929/1.566, allocations: 52.34 MB / 1.32 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/1.57, allocations: 219.7 kB / 1.32 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004066/1.57, allocations: 99.98 kB / 1.32 GB, free: 12.02 MB / 1.029 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.003524/1.574, allocations: 1.588 MB / 1.322 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006691/1.574, allocations: 249 kB / 1.322 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03155/1.606, allocations: 14.75 MB / 1.337 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.122e-05/1.606, allocations: 24 kB / 1.337 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001112/1.606, allocations: 44 kB / 1.337 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.902e-05/1.606, allocations: 12.28 kB / 1.337 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04408/1.65, allocations: 20.52 MB / 1.357 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/1.65, allocations: 8 kB / 1.357 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009236/1.651, allocations: 163.8 kB / 1.357 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02959/1.681, allocations: 9.013 MB / 1.366 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004703/1.681, allocations: 52 kB / 1.366 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07775/1.759, allocations: 51.9 MB / 1.417 GB, free: 8.957 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/1.759, allocations: 11.94 kB / 1.417 GB, free: 8.945 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03119/1.79, allocations: 14.36 MB / 1.431 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003042/1.793, allocations: 0.8416 MB / 1.431 GB, free: 9.586 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008027/1.794, allocations: 59.92 kB / 1.431 GB, free: 9.527 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/1.796, allocations: 207.7 kB / 1.432 GB, free: 9.324 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001412/1.798, allocations: 241.4 kB / 1.432 GB, free: 9.09 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.798, allocations: 68 kB / 1.432 GB, free: 9.023 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001718/1.8, allocations: 1.121 MB / 1.433 GB, free: 7.879 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.8, allocations: 0 / 1.433 GB, free: 7.879 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00519/1.805, allocations: 1.617 MB / 1.435 GB, free: 6.262 MB / 1.139 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.0004608/1.805, allocations: 165.5 kB / 1.435 GB, free: 6.094 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02222/1.828, allocations: 10.56 MB / 1.445 GB, free: 11.47 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/1.828, allocations: 4.219 kB / 1.445 GB, free: 11.46 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.01748/1.845, allocations: 7.311 MB / 1.452 GB, free: 4.105 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/1.849, allocations: 0.5532 MB / 1.453 GB, free: 3.562 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/1.865, allocations: 8.699 MB / 1.461 GB, free: 10.79 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003999/1.869, allocations: 3.224 MB / 1.464 GB, free: 7.531 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001209/1.87, allocations: 391.3 kB / 1.465 GB, free: 7.145 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/1.871, allocations: 95.44 kB / 1.465 GB, free: 7.055 MB / 1.17 GB Notification: Performance of SimCode: time 1.222e-06/1.871, allocations: 0 / 1.465 GB, free: 7.055 MB / 1.17 GB Notification: Performance of Templates: time 0.6911/2.562, allocations: 91.85 MB / 1.555 GB, free: 420.9 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches