Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001575, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001782/0.001782, allocations: 191 kB / 16.25 MB, free: 6.629 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.327/2.327, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.724/0.7254, allocations: 140.3 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01077/0.7362, allocations: 10.06 MB / 0.9589 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005887/0.7421, allocations: 3.148 MB / 0.962 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.7437, allocations: 36.28 kB / 0.962 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.7459, allocations: 0.5366 MB / 0.9626 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.7482, allocations: 0.6907 MB / 0.9632 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.7501, allocations: 0.682 MB / 0.9639 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005042/0.7552, allocations: 3.009 MB / 0.9668 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006388/0.7616, allocations: 3.075 MB / 0.9698 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.7647, allocations: 1.271 MB / 0.9711 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.768, allocations: 1.651 MB / 0.9727 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.7691, allocations: 235 kB / 0.9729 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.7713, allocations: 0.5007 MB / 0.9734 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.7733, allocations: 1.072 MB / 0.9744 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002915/0.7762, allocations: 1.113 MB / 0.9755 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.7803, allocations: 3.693 MB / 0.9791 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.7804, allocations: 0 / 0.9791 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7804, allocations: 0 / 0.9791 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.452e-05/0.7804, allocations: 4 kB / 0.9791 GB, free: 3.176 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004317/0.7848, allocations: 2.142 MB / 0.9812 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.7848, allocations: 8.031 kB / 0.9812 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008778/0.7936, allocations: 1.309 MB / 0.9825 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.7958, allocations: 1.263 MB / 0.9838 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.58e-05/0.7959, allocations: 119.4 kB / 0.9839 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003865/0.7963, allocations: 144.3 kB / 0.984 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005394/0.8017, allocations: 3.437 MB / 0.9874 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.8017, allocations: 3.938 kB / 0.9874 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.8019, allocations: 67.95 kB / 0.9874 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/0.8022, allocations: 203.1 kB / 0.9876 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0048/0.807, allocations: 3.131 MB / 0.9907 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.8248, allocations: 13.62 MB / 1.004 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.8277, allocations: 1.727 MB / 1.006 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.8298, allocations: 1.44 MB / 1.007 GB, free: 5.469 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.8299, allocations: 9 kB / 1.007 GB, free: 5.461 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.83, allocations: 43.56 kB / 1.007 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 3.727e-06/0.83, allocations: 0 / 1.007 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.133/0.963, allocations: 36.68 MB / 1.043 GB, free: 0.582 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.9631, allocations: 69.41 kB / 1.043 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.9647, allocations: 1.05 MB / 1.044 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003034/0.965, allocations: 57.7 kB / 1.044 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005391/0.9655, allocations: 0.7834 MB / 1.045 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000646/0.9662, allocations: 0.6278 MB / 1.045 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007732/0.967, allocations: 367.3 kB / 1.046 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9671, allocations: 301.1 kB / 1.046 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002912/0.97, allocations: 1.932 MB / 1.048 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003152/0.9732, allocations: 2.285 MB / 1.05 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005878/0.9791, allocations: 4.394 MB / 1.055 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.9791, allocations: 4 kB / 1.055 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01958/0.9987, allocations: 9.019 MB / 1.063 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.9988, allocations: 14.03 kB / 1.063 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.9988, allocations: 16 kB / 1.063 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/1.015, allocations: 5.004 MB / 1.068 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.016, allocations: 195.6 kB / 1.068 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05711/1.073, allocations: 38.92 MB / 1.106 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/1.076, allocations: 103.9 kB / 1.107 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/1.076, allocations: 68 kB / 1.107 GB, free: 14.46 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001556/1.077, allocations: 0.8101 MB / 1.107 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/1.078, allocations: 138.3 kB / 1.108 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/1.098, allocations: 8.89 MB / 1.116 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/1.098, allocations: 20 kB / 1.116 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.192e-05/1.098, allocations: 28 kB / 1.116 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-05/1.098, allocations: 11.97 kB / 1.116 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/1.125, allocations: 13.31 MB / 1.129 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/1.125, allocations: 4 kB / 1.129 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/1.125, allocations: 119.8 kB / 1.129 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01569/1.141, allocations: 4.792 MB / 1.134 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003606/1.141, allocations: 36 kB / 1.134 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05297/1.194, allocations: 34.85 MB / 1.168 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.194, allocations: 4 kB / 1.168 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/1.213, allocations: 8.4 MB / 1.176 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/1.215, allocations: 0.6163 MB / 1.177 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/1.215, allocations: 39.94 kB / 1.177 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.216, allocations: 95.88 kB / 1.177 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009327/1.217, allocations: 161.7 kB / 1.177 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.217, allocations: 44 kB / 1.177 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001013/1.218, allocations: 0.7382 MB / 1.178 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.218, allocations: 0 / 1.178 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003577/1.222, allocations: 1.004 MB / 1.179 GB, free: 3.434 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003561/1.222, allocations: 151 kB / 1.179 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.234, allocations: 6.696 MB / 1.186 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/1.234, allocations: 0 / 1.186 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.008245/1.242, allocations: 3.838 MB / 1.189 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/1.245, allocations: 244.2 kB / 1.19 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009376/1.254, allocations: 5.796 MB / 1.195 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.256, allocations: 1.863 MB / 1.197 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009875/1.257, allocations: 363.4 kB / 1.197 GB, free: 300 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/1.257, allocations: 63.38 kB / 1.198 GB, free: 236 kB / 0.9512 GB Notification: Performance of SimCode: time 1.302e-06/1.257, allocations: 0 / 1.198 GB, free: 236 kB / 0.9512 GB Notification: Performance of Templates: time 0.09047/1.347, allocations: 59.85 MB / 1.256 GB, free: 4.5 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches