Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 107.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.5 MB / 0.7309 GB, free: 12.75 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=500,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_10_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=500,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 63.89 kB / 1.06 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8512, allocations: 160.7 MB / 1.217 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01331/0.8645, allocations: 10.23 MB / 1.227 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006213/0.8707, allocations: 3.203 MB / 1.23 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008608/0.8716, allocations: 36.97 kB / 1.23 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.8734, allocations: 0.6098 MB / 1.23 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.8752, allocations: 0.7765 MB / 1.231 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.877, allocations: 0.7497 MB / 1.232 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003778/0.8808, allocations: 2.999 MB / 1.235 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002695/0.8835, allocations: 1.961 MB / 1.237 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001947/0.8855, allocations: 1.262 MB / 1.238 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002564/0.888, allocations: 1.706 MB / 1.24 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004507/0.8885, allocations: 232 kB / 1.24 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.8896, allocations: 0.5071 MB / 1.24 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.8909, allocations: 1.107 MB / 1.241 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.8925, allocations: 1.112 MB / 1.242 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.8968, allocations: 3.697 MB / 1.246 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8968, allocations: 0 / 1.246 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8968, allocations: 0 / 1.246 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.242e-05/0.8968, allocations: 0 / 1.246 GB, free: 9.457 MB / 0.9512 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.004491/0.9013, allocations: 2.19 MB / 1.248 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.9014, allocations: 16.58 kB / 1.248 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008744/0.9101, allocations: 1.314 MB / 1.249 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.9132, allocations: 1.31 MB / 1.251 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.9134, allocations: 115.3 kB / 1.251 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/0.9138, allocations: 152.3 kB / 1.251 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006288/0.9201, allocations: 3.438 MB / 1.254 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/0.9201, allocations: 0 / 1.254 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.9203, allocations: 67.97 kB / 1.254 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/0.9206, allocations: 207.1 kB / 1.255 GB, free: 468 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/0.9262, allocations: 3.131 MB / 1.258 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.947, allocations: 13.57 MB / 1.271 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.9498, allocations: 1.614 MB / 1.273 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.9519, allocations: 1.335 MB / 1.274 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.507e-05/0.952, allocations: 9 kB / 1.274 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.9521, allocations: 43.56 kB / 1.274 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.9521, allocations: 4 kB / 1.274 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=183): time 0.1396/1.092, allocations: 36.56 MB / 1.31 GB, free: 7.141 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/1.092, allocations: 69.41 kB / 1.31 GB, free: 7.059 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/1.093, allocations: 1.058 MB / 1.311 GB, free: 5.977 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003455/1.094, allocations: 53.7 kB / 1.311 GB, free: 5.918 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006648/1.094, allocations: 0.8053 MB / 1.312 GB, free: 5.105 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008467/1.095, allocations: 0.6584 MB / 1.312 GB, free: 4.441 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008067/1.096, allocations: 363.5 kB / 1.312 GB, free: 4.082 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.096, allocations: 301.1 kB / 1.313 GB, free: 3.785 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/1.099, allocations: 1.932 MB / 1.315 GB, free: 1.852 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003483/1.103, allocations: 2.289 MB / 1.317 GB, free: 15.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006748/1.11, allocations: 4.392 MB / 1.321 GB, free: 10.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.11, allocations: 4 kB / 1.321 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02082/1.13, allocations: 8.867 MB / 1.33 GB, free: 2.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/1.13, allocations: 15.92 kB / 1.33 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/1.13, allocations: 8 kB / 1.33 GB, free: 1.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01684/1.147, allocations: 4.979 MB / 1.335 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/1.148, allocations: 195.6 kB / 1.335 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06141/1.21, allocations: 38.92 MB / 1.373 GB, free: 5.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.211, allocations: 103.9 kB / 1.373 GB, free: 5.219 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/1.212, allocations: 68 kB / 1.373 GB, free: 5.152 MB / 1.076 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.00139/1.213, allocations: 0.8018 MB / 1.374 GB, free: 4.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/1.213, allocations: 143.1 kB / 1.374 GB, free: 4.199 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02113/1.234, allocations: 8.749 MB / 1.383 GB, free: 11.41 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/1.234, allocations: 16 kB / 1.383 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.089e-05/1.235, allocations: 28 kB / 1.383 GB, free: 11.37 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/1.235, allocations: 11.97 kB / 1.383 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0287/1.263, allocations: 13.26 MB / 1.396 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/1.263, allocations: 8.094 kB / 1.396 GB, free: 13.94 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/1.264, allocations: 119.8 kB / 1.396 GB, free: 13.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01667/1.281, allocations: 4.846 MB / 1.4 GB, free: 8.961 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003798/1.281, allocations: 36 kB / 1.4 GB, free: 8.926 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05965/1.341, allocations: 36.84 MB / 1.436 GB, free: 3.496 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.341, allocations: 7.938 kB / 1.436 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/1.361, allocations: 8.456 MB / 1.445 GB, free: 10.94 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.363, allocations: 0.6444 MB / 1.445 GB, free: 10.27 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/1.363, allocations: 47.83 kB / 1.445 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.364, allocations: 91.89 kB / 1.445 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007579/1.365, allocations: 161.6 kB / 1.446 GB, free: 9.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.365, allocations: 44 kB / 1.446 GB, free: 9.938 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001073/1.366, allocations: 0.7421 MB / 1.446 GB, free: 9.184 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.366, allocations: 0 / 1.446 GB, free: 9.184 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00318/1.369, allocations: 1.004 MB / 1.447 GB, free: 8.18 MB / 1.154 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%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003486/1.37, allocations: 140.2 kB / 1.447 GB, free: 8.035 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.38, allocations: 5.753 MB / 1.453 GB, free: 2.23 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.38, allocations: 0 / 1.453 GB, free: 2.23 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.008447/1.389, allocations: 3.783 MB / 1.457 GB, free: 14.4 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/1.39, allocations: 251.2 kB / 1.457 GB, free: 14.16 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009617/1.4, allocations: 5.468 MB / 1.462 GB, free: 8.629 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/1.402, allocations: 1.898 MB / 1.464 GB, free: 6.691 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/1.402, allocations: 67.38 kB / 1.464 GB, free: 6.625 MB / 1.17 GB Notification: Performance of SimCode: time 1.944e-06/1.402, allocations: 0 / 1.464 GB, free: 6.625 MB / 1.17 GB Notification: Performance of Templates: time 0.0849/1.487, allocations: 69.47 MB / 1.532 GB, free: 1.109 MB / 1.232 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches