Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008656/0.0008656, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008005/0.0008005, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8826/0.8826, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.614/1.614, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.555e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003943/0.003969, allocations: 4.572 MB / 0.9562 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.006287, allocations: 2.374 MB / 0.9585 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.006473, allocations: 39.56 kB / 0.9585 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006792/0.007152, allocations: 401.8 kB / 0.9589 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005337/0.007686, allocations: 489 kB / 0.9594 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.008093, allocations: 377.5 kB / 0.9598 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006181/0.008711, allocations: 0.9485 MB / 0.9607 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.009082, allocations: 322.3 kB / 0.961 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.009508, allocations: 490.8 kB / 0.9615 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.009795, allocations: 303 kB / 0.9617 GB, free: 8.672 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.009834, allocations: 36 kB / 0.9618 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.01016, allocations: 367 kB / 0.9621 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.01031, allocations: 203.3 kB / 0.9623 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.01044, allocations: 207.5 kB / 0.9625 GB, free: 7.875 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006596/0.0111, allocations: 0.8994 MB / 0.9634 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01111, allocations: 0 / 0.9634 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01111, allocations: 0 / 0.9634 GB, free: 6.973 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.01112, allocations: 7.922 kB / 0.9634 GB, free: 6.965 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.000872/0.01199, allocations: 0.874 MB / 0.9643 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.01203, allocations: 12.03 kB / 0.9643 GB, free: 6.047 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006535/0.01268, allocations: 212.2 kB / 0.9645 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.0132, allocations: 480 kB / 0.9649 GB, free: 5.348 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.01322, allocations: 33.36 kB / 0.965 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.01327, allocations: 48.38 kB / 0.965 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.01402, allocations: 0.9664 MB / 0.966 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.01404, allocations: 16.12 kB / 0.966 GB, free: 4.125 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.01407, allocations: 24.36 kB / 0.966 GB, free: 4.102 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.338e-05/0.01413, allocations: 68.89 kB / 0.9661 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.01466, allocations: 0.5656 MB / 0.9666 GB, free: 3.469 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.01707, allocations: 4.623 MB / 0.9711 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.01748, allocations: 414.3 kB / 0.9715 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.01766, allocations: 200.7 kB / 0.9717 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.01769, allocations: 8.516 kB / 0.9717 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.01771, allocations: 38.56 kB / 0.9718 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=32): time 1.774e-06/0.01771, allocations: 0 / 0.9718 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001433/0.01914, allocations: 1.127 MB / 0.9729 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.01917, allocations: 55.69 kB / 0.9729 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.01946, allocations: 466.6 kB / 0.9734 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.01949, allocations: 37.7 kB / 0.9734 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.01965, allocations: 376.2 kB / 0.9738 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.01971, allocations: 119 kB / 0.9739 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.01981, allocations: 114.2 kB / 0.974 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01991, allocations: 362.7 kB / 0.9743 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.0201, allocations: 197.2 kB / 0.9745 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.0204, allocations: 451.2 kB / 0.9749 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.02095, allocations: 0.688 MB / 0.9756 GB, free: 9.742 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02095, allocations: 0 / 0.9756 GB, free: 9.742 MB / 0.9323 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008164/0.02177, allocations: 0.8059 MB / 0.9764 GB, free: 8.914 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.02179, allocations: 12 kB / 0.9764 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.0218, allocations: 8 kB / 0.9764 GB, free: 8.895 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.02214, allocations: 148.6 kB / 0.9766 GB, free: 8.734 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.02239, allocations: 131.7 kB / 0.9767 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.02459, allocations: 3.961 MB / 0.9806 GB, free: 4.336 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.02476, allocations: 31.97 kB / 0.9806 GB, free: 4.305 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.02479, allocations: 28 kB / 0.9806 GB, free: 4.277 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.02496, allocations: 209.8 kB / 0.9808 GB, free: 4.062 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.02502, allocations: 67.61 kB / 0.9809 GB, free: 3.996 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.02563, allocations: 0.5883 MB / 0.9815 GB, free: 3.387 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.02564, allocations: 4 kB / 0.9815 GB, free: 3.383 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.02564, allocations: 11.92 kB / 0.9815 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.02564, allocations: 0 / 0.9815 GB, free: 3.371 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.02672, allocations: 1.117 MB / 0.9826 GB, free: 2.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.02673, allocations: 8.062 kB / 0.9826 GB, free: 2.172 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.02686, allocations: 55.89 kB / 0.9826 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.02708, allocations: 144.2 kB / 0.9828 GB, free: 1.961 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.02709, allocations: 4 kB / 0.9828 GB, free: 1.957 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.02898, allocations: 3.957 MB / 0.9866 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02898, allocations: 0 / 0.9866 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.02959, allocations: 0.7008 MB / 0.9873 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.0297, allocations: 91.58 kB / 0.9874 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.02972, allocations: 8 kB / 0.9874 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.02985, allocations: 23.97 kB / 0.9874 GB, free: 12.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.0299, allocations: 39.81 kB / 0.9875 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.02991, allocations: 12 kB / 0.9875 GB, free: 12.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001907/0.0301, allocations: 298.9 kB / 0.9878 GB, free: 12.48 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.0301, allocations: 4.094 kB / 0.9878 GB, free: 12.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003677/0.03047, allocations: 136 kB / 0.9879 GB, free: 12.34 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001212/0.03059, allocations: 119.4 kB / 0.988 GB, free: 12.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008204/0.03141, allocations: 0.8546 MB / 0.9888 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.03141, allocations: 0 / 0.9888 GB, free: 11.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.03182, allocations: 0.5719 MB / 0.9894 GB, free: 10.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.03237, allocations: 193.5 kB / 0.9896 GB, free: 10.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.03345, allocations: 1.086 MB / 0.9906 GB, free: 9.371 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.03365, allocations: 307.4 kB / 0.9909 GB, free: 9.043 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.03373, allocations: 44.5 kB / 0.991 GB, free: 9 MB / 0.948 GB Notification: Performance of SimCode: time 8.71e-07/0.03373, allocations: 0 / 0.991 GB, free: 9 MB / 0.948 GB Notification: Performance of Templates: time 0.01243/0.04616, allocations: 18.07 MB / 1.009 GB, free: 6.965 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 9.03405938576907]