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.001292/0.001292, allocations: 115.7 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.001372/0.001372, allocations: 198.6 kB / 22.17 MB, free: 5.207 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.428/1.428, 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.782/2.782, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.002252/0.002252, allocations: 59.91 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8023, allocations: 168.7 MB / 1.274 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04564/0.848, allocations: 36.65 MB / 1.31 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02088/0.8689, allocations: 11.93 MB / 1.322 GB, free: 3.625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/0.8729, allocations: 159.2 kB / 1.322 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.885, allocations: 4.424 MB / 1.326 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006315/0.8913, allocations: 2.092 MB / 1.328 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006575/0.8978, allocations: 2.465 MB / 1.33 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01172/0.9096, allocations: 8.456 MB / 1.339 GB, free: 1.996 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.9198, allocations: 5.869 MB / 1.344 GB, free: 12.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007087/0.9269, allocations: 3.798 MB / 1.348 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00874/0.9356, allocations: 4.42 MB / 1.352 GB, free: 3.766 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00317/0.9388, allocations: 0.7812 MB / 1.353 GB, free: 2.984 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006944/0.9457, allocations: 2.063 MB / 1.355 GB, free: 0.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006632/0.9524, allocations: 3.141 MB / 1.358 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.008522/0.9609, allocations: 3.4 MB / 1.362 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01716/0.9781, allocations: 12.01 MB / 1.373 GB, free: 14.31 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9781, allocations: 3.938 kB / 1.373 GB, free: 14.31 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9781, allocations: 0 / 1.373 GB, free: 14.31 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003604/0.9784, allocations: 0 / 1.373 GB, free: 14.31 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.01538/0.9938, allocations: 5.942 MB / 1.379 GB, free: 8.285 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.9938, allocations: 12.03 kB / 1.379 GB, free: 8.273 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007092/1.001, allocations: 1.086 MB / 1.38 GB, free: 7.184 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/1.011, allocations: 3.467 MB / 1.384 GB, free: 3.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004484/1.012, allocations: 415.5 kB / 1.384 GB, free: 3.254 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002053/1.014, allocations: 0.5432 MB / 1.385 GB, free: 2.711 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/1.032, allocations: 9.075 MB / 1.393 GB, free: 9.316 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001698/1.032, allocations: 31.77 kB / 1.393 GB, free: 9.285 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007458/1.033, allocations: 232 kB / 1.394 GB, free: 9.059 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004127/1.034, allocations: 346.8 kB / 1.394 GB, free: 8.719 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/1.048, allocations: 6.83 MB / 1.401 GB, free: 1.879 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04966/1.097, allocations: 39.86 MB / 1.44 GB, free: 6.309 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/1.102, allocations: 2.919 MB / 1.442 GB, free: 3.25 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/1.104, allocations: 1.778 MB / 1.444 GB, free: 1.477 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/1.104, allocations: 18 kB / 1.444 GB, free: 1.457 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/1.105, allocations: 56.56 kB / 1.444 GB, free: 1.395 MB / 1.139 GB Notification: Performance of pre-optimization done (n=179): time 3.887e-06/1.105, allocations: 0 / 1.444 GB, free: 1.395 MB / 1.139 GB Notification: Performance of matching and sorting (n=182): time 0.02599/1.131, allocations: 10 MB / 1.454 GB, free: 7.305 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/1.131, allocations: 73.41 kB / 1.454 GB, free: 7.219 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/1.133, allocations: 1.53 MB / 1.456 GB, free: 5.645 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/1.133, allocations: 57.7 kB / 1.456 GB, free: 5.582 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001764/1.135, allocations: 2.324 MB / 1.458 GB, free: 3.234 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006551/1.136, allocations: 0.6584 MB / 1.459 GB, free: 2.57 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000709/1.136, allocations: 408.1 kB / 1.459 GB, free: 2.164 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.136, allocations: 305.1 kB / 1.459 GB, free: 1.863 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/1.138, allocations: 1.183 MB / 1.46 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/1.141, allocations: 1.881 MB / 1.462 GB, free: 14.48 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005034/1.146, allocations: 3.367 MB / 1.465 GB, free: 10.8 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.377e-05/1.146, allocations: 8 kB / 1.466 GB, free: 10.79 MB / 1.17 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008383/1.154, allocations: 4.539 MB / 1.47 GB, free: 6.23 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/1.154, allocations: 17.66 kB / 1.47 GB, free: 6.215 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/1.154, allocations: 24 kB / 1.47 GB, free: 6.191 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004134/1.158, allocations: 1.579 MB / 1.472 GB, free: 4.605 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.16, allocations: 355.3 kB / 1.472 GB, free: 4.258 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02586/1.186, allocations: 18.6 MB / 1.49 GB, free: 1.094 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/1.187, allocations: 119.9 kB / 1.49 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/1.188, allocations: 96 kB / 1.49 GB, free: 0.8828 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.00314/1.191, allocations: 1.897 MB / 1.492 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005029/1.191, allocations: 238.5 kB / 1.492 GB, free: 14.74 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00745/1.199, allocations: 4.043 MB / 1.496 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/1.199, allocations: 20 kB / 1.496 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.896e-05/1.199, allocations: 19.94 kB / 1.496 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/1.199, allocations: 7.969 kB / 1.496 GB, free: 10.62 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/1.218, allocations: 9.414 MB / 1.505 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.218, allocations: 4 kB / 1.505 GB, free: 0.9453 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000912/1.218, allocations: 188.2 kB / 1.506 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003748/1.222, allocations: 1.352 MB / 1.507 GB, free: 15.4 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/1.222, allocations: 36.25 kB / 1.507 GB, free: 15.36 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02426/1.247, allocations: 17.37 MB / 1.524 GB, free: 13.44 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.247, allocations: 8 kB / 1.524 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007691/1.254, allocations: 4.04 MB / 1.528 GB, free: 9.301 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.256, allocations: 0.5346 MB / 1.528 GB, free: 8.746 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006378/1.257, allocations: 40 kB / 1.529 GB, free: 8.707 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.258, allocations: 87.89 kB / 1.529 GB, free: 8.621 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006309/1.259, allocations: 161.7 kB / 1.529 GB, free: 8.461 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.259, allocations: 48 kB / 1.529 GB, free: 8.414 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002114/1.261, allocations: 1.005 MB / 1.53 GB, free: 7.387 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.261, allocations: 0 / 1.53 GB, free: 7.387 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003748/1.265, allocations: 0.9883 MB / 1.531 GB, free: 6.398 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.0003375/1.265, allocations: 151.5 kB / 1.531 GB, free: 6.238 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007463/1.273, allocations: 4.163 MB / 1.535 GB, free: 2.031 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.273, allocations: 4 kB / 1.535 GB, free: 2.027 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00468/1.277, allocations: 2.572 MB / 1.537 GB, free: 15.4 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/1.281, allocations: 0.7805 MB / 1.538 GB, free: 14.65 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.299, allocations: 8.875 MB / 1.547 GB, free: 5.684 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005772/1.305, allocations: 3.573 MB / 1.55 GB, free: 2.078 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001744/1.307, allocations: 467.9 kB / 1.551 GB, free: 1.617 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/1.307, allocations: 115.4 kB / 1.551 GB, free: 1.504 MB / 1.248 GB Notification: Performance of SimCode: time 1.172e-06/1.307, allocations: 0 / 1.551 GB, free: 1.504 MB / 1.248 GB Notification: Performance of Templates: time 0.09045/1.398, allocations: 46 MB / 1.596 GB, free: 3.949 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 gbode -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.781253787688911]