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.0008243/0.0008242, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005803/0.005803, allocations: 172 kB / 16.26 MB, free: 6.613 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.551/2.551, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 19.92 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8997/0.9002, allocations: 142.4 MB / 0.9551 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009117/0.9094, allocations: 9.593 MB / 0.9644 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006123/0.9155, allocations: 3.144 MB / 0.9675 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.9167, allocations: 26.38 kB / 0.9675 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.9174, allocations: 180.9 kB / 0.9677 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.9198, allocations: 0.7077 MB / 0.9684 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.9218, allocations: 0.6402 MB / 0.969 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005762/0.9276, allocations: 4.483 MB / 0.9734 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005875/0.9335, allocations: 3.143 MB / 0.9765 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.9358, allocations: 0.9355 MB / 0.9774 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003229/0.9391, allocations: 1.457 MB / 0.9788 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008081/0.9399, allocations: 120 kB / 0.9789 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.9422, allocations: 463.2 kB / 0.9793 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001975/0.9442, allocations: 0.9314 MB / 0.9803 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.9468, allocations: 0.958 MB / 0.9812 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.9513, allocations: 3.533 MB / 0.9846 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.9514, allocations: 0 / 0.9846 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9514, allocations: 0 / 0.9846 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.516e-05/0.9515, allocations: 0 / 0.9846 GB, free: 0.9023 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.004063/0.9555, allocations: 1.76 MB / 0.9864 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.9556, allocations: 12.03 kB / 0.9864 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009481/0.9651, allocations: 1.313 MB / 0.9877 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.9678, allocations: 1.255 MB / 0.9889 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.9679, allocations: 115.3 kB / 0.989 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004201/0.9684, allocations: 144.3 kB / 0.9891 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005872/0.9742, allocations: 3.441 MB / 0.9925 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.839e-05/0.9743, allocations: 11.84 kB / 0.9925 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.9746, allocations: 67.89 kB / 0.9926 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002753/0.9748, allocations: 207.1 kB / 0.9928 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005173/0.98, allocations: 3.124 MB / 0.9958 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01789/0.9979, allocations: 13.59 MB / 1.009 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/1.001, allocations: 1.727 MB / 1.011 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/1.003, allocations: 1.436 MB / 1.012 GB, free: 3.613 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.964e-05/1.003, allocations: 13 kB / 1.012 GB, free: 3.602 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.003, allocations: 43.56 kB / 1.012 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 2.865e-06/1.003, allocations: 0 / 1.012 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of matching and sorting (n=183): time 0.1537/1.156, allocations: 35.96 MB / 1.047 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/1.157, allocations: 69.41 kB / 1.047 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.158, allocations: 1.05 MB / 1.048 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0005256/1.159, allocations: 57.7 kB / 1.048 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007003/1.16, allocations: 0.7912 MB / 1.049 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009378/1.161, allocations: 0.6239 MB / 1.05 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/1.161, allocations: 153.6 kB / 1.05 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.161, allocations: 305.1 kB / 1.05 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/1.164, allocations: 1.928 MB / 1.052 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/1.167, allocations: 2.289 MB / 1.054 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007074/1.174, allocations: 4.394 MB / 1.059 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/1.175, allocations: 4 kB / 1.059 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02258/1.197, allocations: 9.019 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/1.197, allocations: 20.06 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/1.197, allocations: 15.98 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01798/1.215, allocations: 4.973 MB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/1.216, allocations: 195.6 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05974/1.276, allocations: 35.16 MB / 1.107 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.278, allocations: 99.89 kB / 1.107 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006198/1.279, allocations: 67.98 kB / 1.107 GB, free: 1.324 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.002105/1.281, allocations: 0.8074 MB / 1.108 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/1.282, allocations: 146.3 kB / 1.108 GB, free: 372 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02212/1.304, allocations: 8.886 MB / 1.117 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/1.304, allocations: 20 kB / 1.117 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.972e-05/1.304, allocations: 32 kB / 1.117 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/1.304, allocations: 11.95 kB / 1.117 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/1.333, allocations: 13.27 MB / 1.13 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/1.333, allocations: 4 kB / 1.13 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/1.334, allocations: 120.3 kB / 1.13 GB, free: 9.836 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01828/1.352, allocations: 4.762 MB / 1.134 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003926/1.353, allocations: 32 kB / 1.135 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05309/1.406, allocations: 31.45 MB / 1.165 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.406, allocations: 7.938 kB / 1.165 GB, free: 5.012 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01983/1.426, allocations: 8.404 MB / 1.173 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.427, allocations: 0.6201 MB / 1.174 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/1.428, allocations: 36 kB / 1.174 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/1.429, allocations: 87.89 kB / 1.174 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008614/1.43, allocations: 165.6 kB / 1.174 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/1.43, allocations: 48 kB / 1.174 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001188/1.431, allocations: 0.7343 MB / 1.175 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.431, allocations: 7.938 kB / 1.175 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003509/1.435, allocations: 1 MB / 1.176 GB, free: 9.801 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.0004536/1.435, allocations: 148.6 kB / 1.176 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.446, allocations: 5.831 MB / 1.182 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.446, allocations: 0 / 1.182 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00819/1.454, allocations: 3.799 MB / 1.186 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.456, allocations: 228.9 kB / 1.186 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009215/1.465, allocations: 5.809 MB / 1.192 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002226/1.468, allocations: 1.859 MB / 1.193 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001034/1.469, allocations: 347.4 kB / 1.194 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/1.469, allocations: 59.44 kB / 1.194 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/1.469, allocations: 0 / 1.194 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of Templates: time 0.08194/1.551, allocations: 55.46 MB / 1.248 GB, free: 180 kB / 0.9981 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