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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001725/0.001725, allocations: 100.1 kB / 15.88 MB, free: 12 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.001698/0.001698, allocations: 196 kB / 16.79 MB, free: 6.809 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.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6564, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009413/0.6658, allocations: 10.06 MB / 0.9594 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005253/0.6711, allocations: 3.168 MB / 0.9625 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008654/0.672, allocations: 31.53 kB / 0.9625 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.6736, allocations: 0.5405 MB / 0.9631 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.6754, allocations: 0.7 MB / 0.9638 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.6772, allocations: 0.6814 MB / 0.9644 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005029/0.6822, allocations: 4.483 MB / 0.9688 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004784/0.687, allocations: 2.863 MB / 0.9716 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.6892, allocations: 1.06 MB / 0.9726 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/0.6921, allocations: 1.602 MB / 0.9742 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008368/0.693, allocations: 163.1 kB / 0.9743 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.695, allocations: 0.5051 MB / 0.9748 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.6968, allocations: 0.9969 MB / 0.9758 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.6992, allocations: 1.034 MB / 0.9768 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.7029, allocations: 3.079 MB / 0.9798 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7029, allocations: 0 / 0.9798 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.938e-06/0.7029, allocations: 0 / 0.9798 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001047/0.703, allocations: 7.938 kB / 0.9798 GB, free: 3.062 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.005362/0.7084, allocations: 2.142 MB / 0.9819 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.7084, allocations: 8.031 kB / 0.9819 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008973/0.7174, allocations: 1.309 MB / 0.9832 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.7203, allocations: 1.251 MB / 0.9844 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.7204, allocations: 115.4 kB / 0.9845 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007007/0.7211, allocations: 148.3 kB / 0.9847 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007232/0.7284, allocations: 3.441 MB / 0.9881 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/0.7285, allocations: 3.938 kB / 0.9881 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004224/0.7289, allocations: 63.97 kB / 0.9881 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002946/0.7292, allocations: 203.1 kB / 0.9883 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005794/0.735, allocations: 3.128 MB / 0.9914 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/0.7548, allocations: 13.63 MB / 1.005 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.7576, allocations: 1.729 MB / 1.006 GB, free: 6.809 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.7597, allocations: 1.444 MB / 1.008 GB, free: 5.363 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.7598, allocations: 9 kB / 1.008 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.7598, allocations: 47.5 kB / 1.008 GB, free: 5.301 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 3.206e-06/0.7598, allocations: 4 kB / 1.008 GB, free: 5.297 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1387/0.8986, allocations: 36.66 MB / 1.044 GB, free: 496 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.8987, allocations: 69.41 kB / 1.044 GB, free: 412 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.9006, allocations: 1.057 MB / 1.045 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003711/0.901, allocations: 57.64 kB / 1.045 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/0.9016, allocations: 0.7834 MB / 1.046 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008497/0.9025, allocations: 0.6315 MB / 1.046 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/0.9037, allocations: 367.3 kB / 1.047 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9038, allocations: 301.1 kB / 1.047 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/0.9069, allocations: 1.928 MB / 1.049 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/0.9102, allocations: 2.285 MB / 1.051 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006262/0.9165, allocations: 4.398 MB / 1.055 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.9165, allocations: 4 kB / 1.055 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0209/0.9374, allocations: 9.008 MB / 1.064 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.9375, allocations: 20.03 kB / 1.064 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.9375, allocations: 8 kB / 1.064 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01727/0.9548, allocations: 4.984 MB / 1.069 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009126/0.9558, allocations: 183.7 kB / 1.069 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05581/1.012, allocations: 35.29 MB / 1.104 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/1.013, allocations: 103.9 kB / 1.104 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000375/1.014, allocations: 60 kB / 1.104 GB, free: 2.039 MB / 0.8575 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.001549/1.015, allocations: 0.8095 MB / 1.104 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/1.016, allocations: 146.3 kB / 1.105 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02082/1.037, allocations: 8.886 MB / 1.113 GB, free: 8.152 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/1.037, allocations: 19.98 kB / 1.113 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.493e-05/1.037, allocations: 32 kB / 1.113 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/1.037, allocations: 7.969 kB / 1.113 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02816/1.065, allocations: 13.3 MB / 1.126 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/1.065, allocations: 4 kB / 1.126 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/1.066, allocations: 115.9 kB / 1.126 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01714/1.083, allocations: 4.757 MB / 1.131 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000371/1.083, allocations: 36 kB / 1.131 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05045/1.134, allocations: 31.59 MB / 1.162 GB, free: 5.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/1.134, allocations: 11.88 kB / 1.162 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01988/1.154, allocations: 8.4 MB / 1.17 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.155, allocations: 0.6163 MB / 1.171 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/1.156, allocations: 35.98 kB / 1.171 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.157, allocations: 91.89 kB / 1.171 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000949/1.158, allocations: 157.7 kB / 1.171 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.158, allocations: 52 kB / 1.171 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001274/1.16, allocations: 0.7382 MB / 1.172 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/1.16, allocations: 0 / 1.172 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003828/1.164, allocations: 1.004 MB / 1.173 GB, free: 10.35 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.0005089/1.164, allocations: 151 kB / 1.173 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.175, allocations: 5.865 MB / 1.179 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.175, allocations: 0 / 1.179 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.008281/1.183, allocations: 3.843 MB / 1.182 GB, free: 388 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.185, allocations: 219.3 kB / 1.183 GB, free: 168 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00993/1.195, allocations: 6.083 MB / 1.189 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/1.197, allocations: 1.894 MB / 1.19 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/1.198, allocations: 67.44 kB / 1.191 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of SimCode: time 1.383e-06/1.198, allocations: 3.938 kB / 1.191 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of Templates: time 0.07952/1.277, allocations: 69.02 MB / 1.258 GB, free: 2.965 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/jenkins1/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