Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_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_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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001675/0.001675, allocations: 196 kB / 16.14 MB, free: 6.711 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.566/2.566, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7009, allocations: 140.4 MB / 0.9489 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0248/0.7257, allocations: 23.24 MB / 0.9716 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.74, allocations: 6.499 MB / 0.978 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.7436, allocations: 81.09 kB / 0.978 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004366/0.7479, allocations: 1.357 MB / 0.9794 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005549/0.7535, allocations: 1.746 MB / 0.9811 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.7574, allocations: 1.327 MB / 0.9824 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01156/0.769, allocations: 10.6 MB / 0.9927 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01152/0.7806, allocations: 7.619 MB / 1 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.7857, allocations: 2.409 MB / 1.003 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006832/0.7925, allocations: 3.611 MB / 1.006 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.7937, allocations: 376 kB / 1.006 GB, free: 7.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.7968, allocations: 1.193 MB / 1.008 GB, free: 5.969 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002678/0.7995, allocations: 2.319 MB / 1.01 GB, free: 3.645 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003454/0.8029, allocations: 2.356 MB / 1.012 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.009222/0.8122, allocations: 8.386 MB / 1.02 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.8122, allocations: 0 / 1.02 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.494e-06/0.8122, allocations: 0 / 1.02 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002938/0.8125, allocations: 3.938 kB / 1.02 GB, free: 8.863 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01288/0.8254, allocations: 4.428 MB / 1.025 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/0.8255, allocations: 8.031 kB / 1.025 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009633/0.8352, allocations: 1.677 MB / 1.026 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006106/0.8413, allocations: 2.579 MB / 1.029 GB, free: 44 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.8416, allocations: 275.7 kB / 1.029 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/0.8426, allocations: 360.3 kB / 1.029 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.8562, allocations: 7.491 MB / 1.037 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.051e-05/0.8563, allocations: 15.78 kB / 1.037 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004322/0.8568, allocations: 159.9 kB / 1.037 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006012/0.8574, allocations: 483.3 kB / 1.037 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.8682, allocations: 5.701 MB / 1.043 GB, free: 1.312 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04415/0.9124, allocations: 31.72 MB / 1.074 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.9158, allocations: 2.091 MB / 1.076 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/0.9192, allocations: 2.174 MB / 1.078 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.9194, allocations: 21.25 kB / 1.078 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.9195, allocations: 43.88 kB / 1.078 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=146): time 3.957e-06/0.9195, allocations: 0 / 1.078 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=251): time 0.29/1.21, allocations: 77 MB / 1.153 GB, free: 13.31 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/1.21, allocations: 77.41 kB / 1.153 GB, free: 13.23 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004466/1.214, allocations: 1.67 MB / 1.155 GB, free: 11.51 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0008228/1.215, allocations: 65.7 kB / 1.155 GB, free: 11.44 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002065/1.217, allocations: 1.747 MB / 1.157 GB, free: 9.676 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001741/1.219, allocations: 0.8548 MB / 1.158 GB, free: 8.809 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002042/1.221, allocations: 481.2 kB / 1.158 GB, free: 8.332 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.221, allocations: 309.1 kB / 1.158 GB, free: 8.027 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006188/1.227, allocations: 2.734 MB / 1.161 GB, free: 5.289 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006803/1.234, allocations: 3.328 MB / 1.164 GB, free: 1.715 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/1.247, allocations: 6.393 MB / 1.171 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.601e-05/1.248, allocations: 4 kB / 1.171 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.04798/1.296, allocations: 14.68 MB / 1.185 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/1.296, allocations: 12 kB / 1.185 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.802e-05/1.296, allocations: 20.84 kB / 1.185 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03861/1.334, allocations: 9.244 MB / 1.194 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.336, allocations: 299.5 kB / 1.194 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07875/1.414, allocations: 47.44 MB / 1.241 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/1.418, allocations: 223.7 kB / 1.241 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/1.418, allocations: 96 kB / 1.241 GB, free: 2.16 MB / 0.9981 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003712/1.422, allocations: 1.596 MB / 1.242 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008073/1.423, allocations: 241.1 kB / 1.243 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03227/1.455, allocations: 14.75 MB / 1.257 GB, free: 1.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/1.455, allocations: 27.94 kB / 1.257 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001311/1.455, allocations: 44 kB / 1.257 GB, free: 1.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.255e-05/1.455, allocations: 11.95 kB / 1.257 GB, free: 1.418 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6173/2.073, allocations: 20.51 MB / 1.277 GB, free: 273.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.546e-05/2.073, allocations: 7.031 kB / 1.277 GB, free: 273.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/2.074, allocations: 166.2 kB / 1.277 GB, free: 273.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03014/2.104, allocations: 9.004 MB / 1.286 GB, free: 272.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005846/2.104, allocations: 44.12 kB / 1.286 GB, free: 272.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05978/2.164, allocations: 47.02 MB / 1.332 GB, free: 237.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/2.164, allocations: 11.94 kB / 1.332 GB, free: 237.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02649/2.191, allocations: 14.36 MB / 1.346 GB, free: 223.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/2.193, allocations: 0.8503 MB / 1.347 GB, free: 222.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005184/2.193, allocations: 48 kB / 1.347 GB, free: 222.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/2.195, allocations: 211.7 kB / 1.347 GB, free: 221.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001386/2.197, allocations: 245.4 kB / 1.347 GB, free: 221.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000205/2.197, allocations: 68 kB / 1.348 GB, free: 221.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001345/2.198, allocations: 1.125 MB / 1.349 GB, free: 220.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/2.198, allocations: 4 kB / 1.349 GB, free: 220.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004553/2.203, allocations: 1.613 MB / 1.35 GB, free: 218.9 MB / 1.014 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003884/2.203, allocations: 159.9 kB / 1.35 GB, free: 218.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01828/2.221, allocations: 10.54 MB / 1.361 GB, free: 208.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/2.221, allocations: 0 / 1.361 GB, free: 208.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01614/2.238, allocations: 7.298 MB / 1.368 GB, free: 200.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/2.241, allocations: 0.5145 MB / 1.368 GB, free: 200.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/2.255, allocations: 10.62 MB / 1.379 GB, free: 189.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/2.259, allocations: 3.224 MB / 1.382 GB, free: 186.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001169/2.26, allocations: 395.3 kB / 1.382 GB, free: 186 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/2.26, allocations: 99.44 kB / 1.382 GB, free: 185.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.152e-06/2.26, allocations: 0 / 1.382 GB, free: 185.9 MB / 1.014 GB Notification: Performance of Templates: time 0.1127/2.373, allocations: 89.68 MB / 1.47 GB, free: 96.45 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches