Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00094/0.00094, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008396/0.0008396, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9262/0.9262, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.804/1.804, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.121e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006101/0.006132, allocations: 4.553 MB / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003951/0.01008, allocations: 2.397 MB / 0.989 GB, free: 11.12 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.01057, allocations: 35.62 kB / 0.989 GB, free: 11.08 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.01166, allocations: 401.8 kB / 0.9894 GB, free: 10.69 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.01287, allocations: 489.1 kB / 0.9899 GB, free: 10.21 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008861/0.01375, allocations: 380 kB / 0.9902 GB, free: 9.84 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.0149, allocations: 0.9408 MB / 0.9912 GB, free: 8.895 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.0155, allocations: 318.4 kB / 0.9915 GB, free: 8.578 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008233/0.01633, allocations: 498.6 kB / 0.9919 GB, free: 8.09 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.0169, allocations: 303.1 kB / 0.9922 GB, free: 7.793 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.937e-05/0.01698, allocations: 36 kB / 0.9923 GB, free: 7.758 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007218/0.01771, allocations: 367 kB / 0.9926 GB, free: 7.398 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.01791, allocations: 195.4 kB / 0.9928 GB, free: 7.207 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.01815, allocations: 215.4 kB / 0.993 GB, free: 6.996 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.01932, allocations: 0.9033 MB / 0.9939 GB, free: 6.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.01933, allocations: 0 / 0.9939 GB, free: 6.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.694e-06/0.01933, allocations: 0 / 0.9939 GB, free: 6.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.01935, allocations: 4 kB / 0.9939 GB, free: 6.086 MB / 0.948 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.001469/0.02082, allocations: 0.8701 MB / 0.9947 GB, free: 5.184 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.02087, allocations: 12.03 kB / 0.9947 GB, free: 5.172 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.022, allocations: 212.2 kB / 0.9949 GB, free: 4.965 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008055/0.02281, allocations: 476.1 kB / 0.9954 GB, free: 4.477 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.02284, allocations: 33.38 kB / 0.9954 GB, free: 4.445 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/0.02291, allocations: 48.36 kB / 0.9955 GB, free: 4.398 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008074/0.02372, allocations: 0.9705 MB / 0.9964 GB, free: 3.262 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.02374, allocations: 4.125 kB / 0.9964 GB, free: 3.258 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.02378, allocations: 28.3 kB / 0.9965 GB, free: 3.23 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/0.02385, allocations: 68.89 kB / 0.9965 GB, free: 3.16 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.02442, allocations: 0.5733 MB / 0.9971 GB, free: 2.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.02716, allocations: 4.611 MB / 1.002 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.02761, allocations: 426.2 kB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.02781, allocations: 200.7 kB / 1.002 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.02784, allocations: 4 kB / 1.002 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.02786, allocations: 38.56 kB / 1.002 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=32): time 2.745e-06/0.02786, allocations: 0 / 1.002 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.001614/0.02948, allocations: 1.133 MB / 1.003 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.02951, allocations: 55.69 kB / 1.003 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.02985, allocations: 474.6 kB / 1.004 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.02987, allocations: 29.7 kB / 1.004 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.03005, allocations: 368.2 kB / 1.004 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.03012, allocations: 119 kB / 1.004 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.03022, allocations: 118.2 kB / 1.004 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.03032, allocations: 362.7 kB / 1.005 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.03051, allocations: 197.1 kB / 1.005 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.03081, allocations: 459 kB / 1.005 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.03136, allocations: 0.6882 MB / 1.006 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.03137, allocations: 0 / 1.006 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008125/0.03218, allocations: 0.7983 MB / 1.007 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.0322, allocations: 16.03 kB / 1.007 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.03221, allocations: 8 kB / 1.007 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.03253, allocations: 148.2 kB / 1.007 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.0328, allocations: 123.8 kB / 1.007 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.03493, allocations: 3.969 MB / 1.011 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.03516, allocations: 35.97 kB / 1.011 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.03518, allocations: 27.98 kB / 1.011 GB, free: 3.391 MB / 0.9636 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.0002024/0.03538, allocations: 217.5 kB / 1.011 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.03544, allocations: 59.62 kB / 1.011 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.03607, allocations: 0.5928 MB / 1.012 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.03607, allocations: 3.984 kB / 1.012 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.03607, allocations: 7.938 kB / 1.012 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.03608, allocations: 3.984 kB / 1.012 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.03718, allocations: 1.109 MB / 1.013 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.03718, allocations: 7.984 kB / 1.013 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.03731, allocations: 51.89 kB / 1.013 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.03754, allocations: 148.3 kB / 1.013 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.03756, allocations: 8 kB / 1.013 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.03952, allocations: 3.947 MB / 1.017 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.03952, allocations: 7.938 kB / 1.017 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.04016, allocations: 0.6965 MB / 1.018 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.0403, allocations: 91.52 kB / 1.018 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.04033, allocations: 8 kB / 1.018 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.04046, allocations: 23.97 kB / 1.018 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.04052, allocations: 35.83 kB / 1.018 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.04053, allocations: 12 kB / 1.018 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002172/0.04075, allocations: 302.9 kB / 1.018 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.04075, allocations: 3.938 kB / 1.018 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004657/0.04122, allocations: 136 kB / 1.018 GB, free: 11.46 MB / 0.9792 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.0001277/0.04134, allocations: 121.2 kB / 1.018 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008967/0.04224, allocations: 0.8502 MB / 1.019 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.04224, allocations: 0 / 1.019 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.04268, allocations: 0.5767 MB / 1.02 GB, free: 9.82 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.04327, allocations: 190.3 kB / 1.02 GB, free: 9.641 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.04449, allocations: 1.089 MB / 1.021 GB, free: 8.496 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.04471, allocations: 311.4 kB / 1.021 GB, free: 8.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.04479, allocations: 40.5 kB / 1.021 GB, free: 8.121 MB / 0.9792 GB Notification: Performance of SimCode: time 1.072e-06/0.04479, allocations: 0 / 1.021 GB, free: 8.121 MB / 0.9792 GB Notification: Performance of Templates: time 0.01413/0.05892, allocations: 18.08 MB / 1.039 GB, free: 6.078 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.08577691949904]