Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 200.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7779/0.7799, allocations: 168.7 MB / 1.274 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04656/0.8265, allocations: 36.66 MB / 1.31 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02302/0.8495, allocations: 11.93 MB / 1.322 GB, free: 3.762 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003465/0.8529, allocations: 159.2 kB / 1.322 GB, free: 3.605 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01192/0.8649, allocations: 4.418 MB / 1.326 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006176/0.871, allocations: 2.096 MB / 1.328 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006931/0.878, allocations: 2.459 MB / 1.33 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.8897, allocations: 8.463 MB / 1.339 GB, free: 2.133 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/0.9017, allocations: 5.858 MB / 1.344 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006576/0.9083, allocations: 3.802 MB / 1.348 GB, free: 8.344 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007389/0.9156, allocations: 4.428 MB / 1.352 GB, free: 3.902 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002136/0.9178, allocations: 0.7812 MB / 1.353 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005079/0.9229, allocations: 2.063 MB / 1.355 GB, free: 1.055 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005056/0.9279, allocations: 3.141 MB / 1.358 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005907/0.9338, allocations: 3.396 MB / 1.362 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.9489, allocations: 12.01 MB / 1.373 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.9489, allocations: 0 / 1.373 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9489, allocations: 0 / 1.373 GB, free: 14.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003079/0.9492, allocations: 0 / 1.373 GB, free: 14.45 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0146/0.9638, allocations: 5.946 MB / 1.379 GB, free: 8.426 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.9639, allocations: 12.03 kB / 1.379 GB, free: 8.414 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00634/0.9702, allocations: 1.09 MB / 1.38 GB, free: 7.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008612/0.9788, allocations: 3.467 MB / 1.384 GB, free: 3.797 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004182/0.9792, allocations: 411.5 kB / 1.384 GB, free: 3.395 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001818/0.9811, allocations: 0.5432 MB / 1.385 GB, free: 2.852 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/1, allocations: 9.075 MB / 1.393 GB, free: 9.457 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/1, allocations: 27.81 kB / 1.393 GB, free: 9.43 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000725/1.001, allocations: 240 kB / 1.394 GB, free: 9.195 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003979/1.001, allocations: 350.8 kB / 1.394 GB, free: 8.852 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/1.016, allocations: 6.822 MB / 1.401 GB, free: 2.02 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0477/1.064, allocations: 39.86 MB / 1.44 GB, free: 6.449 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004015/1.068, allocations: 2.918 MB / 1.442 GB, free: 3.391 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002739/1.07, allocations: 1.786 MB / 1.444 GB, free: 1.609 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/1.07, allocations: 18 kB / 1.444 GB, free: 1.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/1.07, allocations: 56.56 kB / 1.444 GB, free: 1.527 MB / 1.139 GB Notification: Performance of pre-optimization done (n=179): time 3.206e-06/1.07, allocations: 0 / 1.444 GB, free: 1.527 MB / 1.139 GB Notification: Performance of matching and sorting (n=182): time 0.02501/1.095, allocations: 10 MB / 1.454 GB, free: 7.438 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/1.096, allocations: 73.41 kB / 1.454 GB, free: 7.352 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/1.098, allocations: 1.534 MB / 1.456 GB, free: 5.773 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/1.098, allocations: 53.7 kB / 1.456 GB, free: 5.715 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/1.099, allocations: 2.32 MB / 1.458 GB, free: 3.371 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000602/1.1, allocations: 0.6623 MB / 1.459 GB, free: 2.703 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006295/1.101, allocations: 408.1 kB / 1.459 GB, free: 2.297 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.101, allocations: 305.1 kB / 1.459 GB, free: 1.996 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/1.102, allocations: 1.176 MB / 1.46 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/1.105, allocations: 1.885 MB / 1.462 GB, free: 14.61 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004559/1.11, allocations: 3.371 MB / 1.466 GB, free: 10.93 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/1.11, allocations: 4 kB / 1.466 GB, free: 10.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008065/1.118, allocations: 4.543 MB / 1.47 GB, free: 6.363 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/1.118, allocations: 13.88 kB / 1.47 GB, free: 6.352 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/1.118, allocations: 24 kB / 1.47 GB, free: 6.328 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003842/1.122, allocations: 1.578 MB / 1.472 GB, free: 4.742 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.123, allocations: 351.4 kB / 1.472 GB, free: 4.398 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02512/1.148, allocations: 18.6 MB / 1.49 GB, free: 1.234 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/1.15, allocations: 115.9 kB / 1.49 GB, free: 1.121 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/1.15, allocations: 100 kB / 1.49 GB, free: 1.023 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002929/1.153, allocations: 1.894 MB / 1.492 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/1.153, allocations: 238.5 kB / 1.492 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007269/1.16, allocations: 4.043 MB / 1.496 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.16, allocations: 20 kB / 1.496 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/1.16, allocations: 16 kB / 1.496 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/1.16, allocations: 15.89 kB / 1.496 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/1.177, allocations: 9.419 MB / 1.505 GB, free: 1.082 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.177, allocations: 8.094 kB / 1.506 GB, free: 1.074 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/1.178, allocations: 183.7 kB / 1.506 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/1.181, allocations: 1.355 MB / 1.507 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/1.181, allocations: 36 kB / 1.507 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0241/1.205, allocations: 17.36 MB / 1.524 GB, free: 13.58 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.205, allocations: 8 kB / 1.524 GB, free: 13.57 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007489/1.213, allocations: 4.04 MB / 1.528 GB, free: 9.441 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.214, allocations: 0.5346 MB / 1.528 GB, free: 8.887 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/1.215, allocations: 36 kB / 1.529 GB, free: 8.852 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000975/1.216, allocations: 91.89 kB / 1.529 GB, free: 8.762 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/1.216, allocations: 161.6 kB / 1.529 GB, free: 8.602 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.216, allocations: 48 kB / 1.529 GB, free: 8.555 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001517/1.218, allocations: 1.005 MB / 1.53 GB, free: 7.527 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.218, allocations: 4 kB / 1.53 GB, free: 7.523 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002979/1.221, allocations: 0.9844 MB / 1.531 GB, free: 6.539 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002894/1.221, allocations: 147.5 kB / 1.531 GB, free: 6.383 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00751/1.228, allocations: 4.164 MB / 1.535 GB, free: 2.176 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.228, allocations: 4 kB / 1.535 GB, free: 2.172 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004683/1.233, allocations: 2.579 MB / 1.537 GB, free: 15.54 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/1.237, allocations: 0.7763 MB / 1.538 GB, free: 14.79 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/1.253, allocations: 8.881 MB / 1.547 GB, free: 5.816 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004776/1.258, allocations: 3.576 MB / 1.55 GB, free: 2.207 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001487/1.259, allocations: 459.9 kB / 1.551 GB, free: 1.754 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/1.259, allocations: 111.4 kB / 1.551 GB, free: 1.645 MB / 1.248 GB Notification: Performance of SimCode: time 9.31e-07/1.259, allocations: 0 / 1.551 GB, free: 1.645 MB / 1.248 GB Notification: Performance of Templates: time 0.08398/1.343, allocations: 46.01 MB / 1.596 GB, free: 4.086 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.382951144129038]