Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 108 kB / 15.61 MB, free: 152 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.001192/0.001192, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.567/1.567, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.513/2.513, allocations: 390.2 MB / 0.6646 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7873, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03708/0.8245, allocations: 22.6 MB / 0.9717 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.8424, allocations: 6.232 MB / 0.9777 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00455/0.847, allocations: 95.84 kB / 0.9778 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005402/0.8524, allocations: 1.551 MB / 0.9793 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006452/0.8589, allocations: 1.63 MB / 0.9809 GB, free: 220 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.8645, allocations: 1.342 MB / 0.9822 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01064/0.8752, allocations: 5.937 MB / 0.988 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009758/0.885, allocations: 6.089 MB / 0.994 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00411/0.8891, allocations: 2.403 MB / 0.9963 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00412/0.8932, allocations: 2.874 MB / 0.9991 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0007423/0.894, allocations: 456 kB / 0.9996 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.8965, allocations: 1.096 MB / 1.001 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.8985, allocations: 2.031 MB / 1.003 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.9011, allocations: 2.163 MB / 1.005 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007628/0.9088, allocations: 7.249 MB / 1.012 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.9088, allocations: 0 / 1.012 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.526e-06/0.9088, allocations: 0 / 1.012 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002291/0.9091, allocations: 0 / 1.012 GB, free: 1.938 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01062/0.9197, allocations: 3.816 MB / 1.016 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/0.9198, allocations: 16.02 kB / 1.016 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006463/0.9262, allocations: 1.202 MB / 1.017 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005657/0.9319, allocations: 2.219 MB / 1.019 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.9322, allocations: 242.4 kB / 1.019 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008513/0.933, allocations: 319.9 kB / 1.019 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0132/0.9463, allocations: 6.212 MB / 1.026 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.9464, allocations: 19.84 kB / 1.026 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007213/0.9471, allocations: 140 kB / 1.026 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005025/0.9477, allocations: 398.3 kB / 1.026 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008315/0.956, allocations: 4.666 MB / 1.031 GB, free: 14.32 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0349/0.9909, allocations: 29.14 MB / 1.059 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.9934, allocations: 1.422 MB / 1.06 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/0.9957, allocations: 1.479 MB / 1.062 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.9959, allocations: 13 kB / 1.062 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.9959, allocations: 43.56 kB / 1.062 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 3.477e-06/0.9959, allocations: 0 / 1.062 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.147/1.143, allocations: 37.24 MB / 1.098 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/1.143, allocations: 73.41 kB / 1.098 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/1.145, allocations: 1.427 MB / 1.1 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002523/1.145, allocations: 49.7 kB / 1.1 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009919/1.146, allocations: 1.542 MB / 1.101 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000655/1.147, allocations: 0.6084 MB / 1.102 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007585/1.148, allocations: 379.3 kB / 1.102 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/1.148, allocations: 305.1 kB / 1.103 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/1.151, allocations: 1.788 MB / 1.104 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/1.154, allocations: 2.346 MB / 1.107 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005698/1.159, allocations: 4.387 MB / 1.111 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/1.159, allocations: 4 kB / 1.111 GB, free: 8.715 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01836/1.178, allocations: 8.575 MB / 1.119 GB, free: 104 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/1.178, allocations: 12 kB / 1.119 GB, free: 92 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/1.178, allocations: 16 kB / 1.119 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01522/1.193, allocations: 4.672 MB / 1.124 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.194, allocations: 295.5 kB / 1.124 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05039/1.245, allocations: 32.63 MB / 1.156 GB, free: 9.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/1.247, allocations: 147.8 kB / 1.156 GB, free: 9.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004106/1.248, allocations: 83.98 kB / 1.156 GB, free: 9.379 MB / 0.92 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002611/1.25, allocations: 1.332 MB / 1.158 GB, free: 8.035 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006043/1.251, allocations: 201.7 kB / 1.158 GB, free: 7.836 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01817/1.269, allocations: 8.433 MB / 1.166 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.269, allocations: 16 kB / 1.166 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-05/1.269, allocations: 31.94 kB / 1.166 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/1.269, allocations: 7.969 kB / 1.166 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/1.296, allocations: 12.84 MB / 1.179 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/1.296, allocations: 12.83 kB / 1.179 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/1.297, allocations: 163.7 kB / 1.179 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01442/1.311, allocations: 4.522 MB / 1.183 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003385/1.311, allocations: 36 kB / 1.183 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04639/1.358, allocations: 32.22 MB / 1.215 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/1.358, allocations: 15.94 kB / 1.215 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/1.376, allocations: 8.233 MB / 1.223 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/1.377, allocations: 0.6118 MB / 1.223 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005893/1.378, allocations: 43.92 kB / 1.223 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/1.379, allocations: 139.8 kB / 1.223 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009253/1.38, allocations: 176.8 kB / 1.224 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/1.381, allocations: 48 kB / 1.224 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001665/1.382, allocations: 0.9588 MB / 1.225 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.382, allocations: 0 / 1.225 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004561/1.387, allocations: 1.121 MB / 1.226 GB, free: 1 MB / 0.9825 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003956/1.387, allocations: 155.8 kB / 1.226 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01426/1.402, allocations: 7.062 MB / 1.233 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.402, allocations: 4.875 kB / 1.233 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009574/1.411, allocations: 4.37 MB / 1.237 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/1.414, allocations: 0.516 MB / 1.238 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.426, allocations: 6.875 MB / 1.244 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003421/1.43, allocations: 2.731 MB / 1.247 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001333/1.431, allocations: 388.5 kB / 1.247 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/1.431, allocations: 91.44 kB / 1.247 GB, free: 10.52 MB / 1.014 GB Notification: Performance of SimCode: time 5.81e-07/1.431, allocations: 4 kB / 1.247 GB, free: 10.52 MB / 1.014 GB Notification: Performance of Templates: time 0.6226/2.054, allocations: 60.51 MB / 1.306 GB, free: 258.5 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches