Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_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_latest_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_latest_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.001912/0.001912, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001813/0.001813, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 62.69 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3126, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01333/0.326, allocations: 10.1 MB / 1.037 GB, free: 7.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006641/0.3327, allocations: 3.181 MB / 1.04 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.3338, allocations: 35.81 kB / 1.04 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.3358, allocations: 0.5985 MB / 1.04 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.338, allocations: 0.7388 MB / 1.041 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.34, allocations: 0.7447 MB / 1.042 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003779/0.3438, allocations: 2.992 MB / 1.045 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/0.3469, allocations: 2.586 MB / 1.047 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.3488, allocations: 1.246 MB / 1.048 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.351, allocations: 1.562 MB / 1.05 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.3513, allocations: 239.9 kB / 1.05 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.3523, allocations: 0.4916 MB / 1.051 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009949/0.3533, allocations: 1.076 MB / 1.052 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.3546, allocations: 1.109 MB / 1.053 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003451/0.3581, allocations: 3.693 MB / 1.056 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3581, allocations: 0 / 1.056 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3581, allocations: 0 / 1.056 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.665e-05/0.3582, allocations: 0 / 1.056 GB, free: 3.566 MB / 0.8262 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.004025/0.3622, allocations: 2.142 MB / 1.058 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.3623, allocations: 8.031 kB / 1.059 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008194/0.3705, allocations: 1.321 MB / 1.06 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.3736, allocations: 1.302 MB / 1.061 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/0.3737, allocations: 115.4 kB / 1.061 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/0.374, allocations: 148.3 kB / 1.061 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005504/0.3795, allocations: 3.433 MB / 1.065 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.3796, allocations: 11.92 kB / 1.065 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.3799, allocations: 63.97 kB / 1.065 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003392/0.3802, allocations: 203.1 kB / 1.065 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004877/0.3851, allocations: 3.124 MB / 1.068 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5812/0.9663, allocations: 13.54 MB / 1.081 GB, free: 47.49 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.9693, allocations: 1.719 MB / 1.083 GB, free: 46.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/0.9717, allocations: 1.44 MB / 1.084 GB, free: 46.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.9718, allocations: 10.78 kB / 1.084 GB, free: 46.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.9718, allocations: 44.5 kB / 1.084 GB, free: 46.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=104): time 4.348e-06/0.9719, allocations: 0.75 kB / 1.084 GB, free: 46.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=183): time 0.1403/1.112, allocations: 36.67 MB / 1.12 GB, free: 37.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/1.112, allocations: 71 kB / 1.12 GB, free: 37.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/1.114, allocations: 1.059 MB / 1.121 GB, free: 36.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/1.114, allocations: 61.58 kB / 1.121 GB, free: 36.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/1.115, allocations: 0.7859 MB / 1.122 GB, free: 36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005589/1.115, allocations: 0.6251 MB / 1.123 GB, free: 35.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008334/1.116, allocations: 360.3 kB / 1.123 GB, free: 35.29 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.985e-05/1.116, allocations: 309 kB / 1.123 GB, free: 34.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/1.118, allocations: 1.93 MB / 1.125 GB, free: 33.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002432/1.121, allocations: 2.295 MB / 1.127 GB, free: 32.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/1.125, allocations: 4.385 MB / 1.132 GB, free: 29.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/1.125, allocations: 4 kB / 1.132 GB, free: 29.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01756/1.143, allocations: 9.026 MB / 1.141 GB, free: 20.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/1.143, allocations: 11.98 kB / 1.141 GB, free: 20.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/1.143, allocations: 12 kB / 1.141 GB, free: 20.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01565/1.159, allocations: 4.965 MB / 1.145 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/1.16, allocations: 191.7 kB / 1.146 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0553/1.215, allocations: 38.89 MB / 1.184 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/1.217, allocations: 103.9 kB / 1.184 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000451/1.218, allocations: 71.94 kB / 1.184 GB, free: 7.621 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.001802/1.22, allocations: 0.8081 MB / 1.185 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/1.22, allocations: 138.3 kB / 1.185 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01985/1.24, allocations: 8.894 MB / 1.193 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/1.24, allocations: 22.34 kB / 1.193 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/1.24, allocations: 31.94 kB / 1.193 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/1.24, allocations: 7.969 kB / 1.193 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02953/1.27, allocations: 13.26 MB / 1.206 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/1.27, allocations: 4 kB / 1.206 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005275/1.27, allocations: 123.8 kB / 1.207 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01685/1.287, allocations: 4.756 MB / 1.211 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004351/1.288, allocations: 29.19 kB / 1.211 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05409/1.342, allocations: 34.84 MB / 1.245 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.342, allocations: 4 kB / 1.245 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/1.361, allocations: 8.405 MB / 1.253 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.363, allocations: 0.6124 MB / 1.254 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005412/1.364, allocations: 43.92 kB / 1.254 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.365, allocations: 91.89 kB / 1.254 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008973/1.366, allocations: 161.6 kB / 1.254 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.366, allocations: 48 kB / 1.254 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001191/1.368, allocations: 0.7382 MB / 1.255 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/1.368, allocations: 0 / 1.255 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003566/1.371, allocations: 1.004 MB / 1.256 GB, free: 12.72 MB / 0.9512 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.0003684/1.372, allocations: 147.8 kB / 1.256 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009972/1.382, allocations: 5.865 MB / 1.262 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.382, allocations: 0 / 1.262 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.008074/1.39, allocations: 3.842 MB / 1.266 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.392, allocations: 250.4 kB / 1.266 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009685/1.402, allocations: 4.948 MB / 1.271 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/1.404, allocations: 1.855 MB / 1.273 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009326/1.405, allocations: 367.3 kB / 1.273 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/1.406, allocations: 59.42 kB / 1.273 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of SimCode: time 1.012e-06/1.406, allocations: 4 kB / 1.273 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of Templates: time 0.09247/1.498, allocations: 59.14 MB / 1.331 GB, free: 244 kB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches