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.001689/0.00169, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002577/0.002577, allocations: 195 kB / 16.14 MB, free: 6.648 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.45/2.45, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7251, allocations: 140.4 MB / 0.9489 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01033/0.7355, allocations: 10.07 MB / 0.9588 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005772/0.7413, allocations: 3.17 MB / 0.9619 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.7426, allocations: 32.69 kB / 0.9619 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.7447, allocations: 0.536 MB / 0.9624 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.7471, allocations: 0.7001 MB / 0.9631 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.7489, allocations: 0.6804 MB / 0.9638 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004727/0.7536, allocations: 4.483 MB / 0.9681 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004131/0.7578, allocations: 2.861 MB / 0.9709 GB, free: 9.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.76, allocations: 1.06 MB / 0.972 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.7629, allocations: 1.606 MB / 0.9735 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008983/0.7638, allocations: 163.2 kB / 0.9737 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.7658, allocations: 0.4968 MB / 0.9742 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.7672, allocations: 1.004 MB / 0.9752 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.7686, allocations: 1.027 MB / 0.9762 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003536/0.7721, allocations: 3.622 MB / 0.9797 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7722, allocations: 8 kB / 0.9797 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7722, allocations: 0 / 0.9797 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.137e-05/0.7722, allocations: 0 / 0.9797 GB, free: 2.508 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.004707/0.7769, allocations: 2.147 MB / 0.9818 GB, free: 312 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.777, allocations: 12.03 kB / 0.9818 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008703/0.7857, allocations: 1.313 MB / 0.9831 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.7881, allocations: 1.255 MB / 0.9843 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.289e-05/0.7882, allocations: 111.4 kB / 0.9844 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.7885, allocations: 148.3 kB / 0.9846 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005501/0.7941, allocations: 3.433 MB / 0.9879 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.7941, allocations: 7.938 kB / 0.9879 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.7943, allocations: 67.95 kB / 0.988 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/0.7946, allocations: 203.1 kB / 0.9882 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005012/0.7996, allocations: 3.124 MB / 0.9912 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.8179, allocations: 13.63 MB / 1.005 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.8206, allocations: 1.729 MB / 1.006 GB, free: 6.238 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/0.8226, allocations: 1.44 MB / 1.008 GB, free: 4.797 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.661e-05/0.8227, allocations: 13 kB / 1.008 GB, free: 4.785 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.8228, allocations: 39.56 kB / 1.008 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 4.388e-06/0.8228, allocations: 4 kB / 1.008 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1358/0.9586, allocations: 36.67 MB / 1.044 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.9587, allocations: 73.41 kB / 1.044 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.9603, allocations: 1.053 MB / 1.045 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003586/0.9606, allocations: 53.7 kB / 1.045 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/0.9612, allocations: 0.7874 MB / 1.045 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006478/0.9618, allocations: 0.6277 MB / 1.046 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008113/0.9627, allocations: 371.2 kB / 1.046 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9628, allocations: 305.1 kB / 1.047 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/0.9655, allocations: 1.928 MB / 1.049 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/0.9685, allocations: 2.281 MB / 1.051 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005763/0.9743, allocations: 4.394 MB / 1.055 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.9743, allocations: 4 kB / 1.055 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01928/0.9936, allocations: 9.023 MB / 1.064 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.9937, allocations: 11.94 kB / 1.064 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.9937, allocations: 12 kB / 1.064 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/1.01, allocations: 4.969 MB / 1.069 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008207/1.011, allocations: 191.7 kB / 1.069 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05083/1.062, allocations: 35.28 MB / 1.103 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/1.064, allocations: 103.9 kB / 1.104 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/1.064, allocations: 71.98 kB / 1.104 GB, free: 1.473 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.001249/1.065, allocations: 0.8095 MB / 1.104 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/1.065, allocations: 138.3 kB / 1.104 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/1.085, allocations: 8.89 MB / 1.113 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.085, allocations: 20 kB / 1.113 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.27e-05/1.085, allocations: 28 kB / 1.113 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-05/1.085, allocations: 7.969 kB / 1.113 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02648/1.111, allocations: 13.3 MB / 1.126 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.111, allocations: 4 kB / 1.126 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/1.112, allocations: 123.8 kB / 1.126 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02395/1.136, allocations: 4.753 MB / 1.131 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004325/1.136, allocations: 32 kB / 1.131 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06016/1.196, allocations: 31.59 MB / 1.162 GB, free: 5.004 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.196, allocations: 11.94 kB / 1.162 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/1.216, allocations: 8.4 MB / 1.17 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001655/1.218, allocations: 0.6163 MB / 1.171 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/1.218, allocations: 35.94 kB / 1.171 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/1.219, allocations: 91.88 kB / 1.171 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008347/1.22, allocations: 165.7 kB / 1.171 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.22, allocations: 44 kB / 1.171 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001001/1.221, allocations: 0.7382 MB / 1.172 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/1.221, allocations: 0 / 1.172 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003403/1.225, allocations: 1.008 MB / 1.173 GB, free: 9.781 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.000365/1.225, allocations: 149.6 kB / 1.173 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01073/1.236, allocations: 5.844 MB / 1.179 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.236, allocations: 0 / 1.179 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.007807/1.244, allocations: 3.836 MB / 1.182 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.245, allocations: 231.2 kB / 1.183 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008959/1.254, allocations: 5.807 MB / 1.188 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/1.256, allocations: 1.859 MB / 1.19 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009871/1.257, allocations: 351.4 kB / 1.19 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/1.258, allocations: 63.38 kB / 1.19 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of SimCode: time 9.61e-07/1.258, allocations: 0 / 1.19 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of Templates: time 0.08582/1.343, allocations: 57.85 MB / 1.247 GB, free: 13.71 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