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.001677/0.001677, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.00186/0.00186, allocations: 222.9 kB / 23 MB, free: 4.91 MB / 14.72 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 1.808/1.808, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.339/3.339, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 70.17 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3972, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007663/0.4049, allocations: 4.598 MB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00487/0.4098, allocations: 2.428 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006041/0.4104, allocations: 27.69 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.4119, allocations: 411.3 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.4133, allocations: 469.6 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.4143, allocations: 374.6 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.4157, allocations: 0.914 MB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006378/0.4163, allocations: 322.3 kB / 1.336 GB, free: 8.363 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007238/0.417, allocations: 358.6 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006571/0.4177, allocations: 338.5 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.4178, allocations: 44 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007594/0.4186, allocations: 355.2 kB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.4188, allocations: 187.3 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.4192, allocations: 258.7 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.4205, allocations: 0.8948 MB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4205, allocations: 0 / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4205, allocations: 0 / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.511e-05/0.4205, allocations: 0 / 1.338 GB, free: 5.953 MB / 1.029 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.001807/0.4223, allocations: 0.8896 MB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4224, allocations: 12.03 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.4237, allocations: 204.2 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4247, allocations: 476.8 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.4248, allocations: 37.36 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.733e-05/0.4249, allocations: 56.31 kB / 1.34 GB, free: 4.242 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.4262, allocations: 0.9741 MB / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.4262, allocations: 7.938 kB / 1.341 GB, free: 3.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.216e-05/0.4263, allocations: 20 kB / 1.341 GB, free: 3.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.766e-05/0.4264, allocations: 64.95 kB / 1.341 GB, free: 3.008 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/0.4273, allocations: 0.5656 MB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.4319, allocations: 4.627 MB / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/0.4326, allocations: 423.4 kB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.4329, allocations: 208.6 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.433, allocations: 4 kB / 1.346 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.433, allocations: 42.55 kB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.433, allocations: 4 kB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002527/0.4355, allocations: 1.128 MB / 1.347 GB, free: 11.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.4356, allocations: 59.62 kB / 1.347 GB, free: 11.72 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.4361, allocations: 462.7 kB / 1.348 GB, free: 11.26 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.4361, allocations: 33.7 kB / 1.348 GB, free: 11.22 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.4364, allocations: 368.2 kB / 1.348 GB, free: 10.86 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.4365, allocations: 130.9 kB / 1.348 GB, free: 10.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.4367, allocations: 106.2 kB / 1.349 GB, free: 10.62 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4369, allocations: 362.8 kB / 1.349 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.4372, allocations: 193.2 kB / 1.349 GB, free: 10.06 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.4377, allocations: 447.9 kB / 1.349 GB, free: 9.512 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.4386, allocations: 0.6954 MB / 1.35 GB, free: 8.699 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4386, allocations: 8 kB / 1.35 GB, free: 8.691 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00138/0.44, allocations: 0.7975 MB / 1.351 GB, free: 7.871 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.44, allocations: 10.34 kB / 1.351 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.44, allocations: 8.844 kB / 1.351 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005161/0.4406, allocations: 160.1 kB / 1.351 GB, free: 7.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.441, allocations: 119.8 kB / 1.351 GB, free: 7.566 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/0.4448, allocations: 3.961 MB / 1.355 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.4452, allocations: 39.97 kB / 1.355 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.4452, allocations: 28.31 kB / 1.355 GB, free: 3.23 MB / 1.045 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.0003164/0.4456, allocations: 209.6 kB / 1.355 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4457, allocations: 59.61 kB / 1.355 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.4468, allocations: 0.6004 MB / 1.356 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4468, allocations: 4 kB / 1.356 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4469, allocations: 0 / 1.356 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4469, allocations: 3.984 kB / 1.356 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.4487, allocations: 1.125 MB / 1.357 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.4488, allocations: 4 kB / 1.357 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.449, allocations: 59.89 kB / 1.357 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/0.4494, allocations: 140.1 kB / 1.357 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.4494, allocations: 12.22 kB / 1.357 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/0.4531, allocations: 3.965 MB / 1.361 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.4531, allocations: 11.91 kB / 1.361 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.4542, allocations: 0.6924 MB / 1.362 GB, free: 11.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.4545, allocations: 87.62 kB / 1.362 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.532e-05/0.4545, allocations: 11.95 kB / 1.362 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.4548, allocations: 28.12 kB / 1.362 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.4549, allocations: 31.89 kB / 1.362 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.4549, allocations: 15.98 kB / 1.362 GB, free: 11.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003849/0.4553, allocations: 298.9 kB / 1.362 GB, free: 11.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4553, allocations: 0 / 1.362 GB, free: 11.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007061/0.456, allocations: 140 kB / 1.362 GB, free: 11.27 MB / 1.061 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.000181/0.4562, allocations: 114.8 kB / 1.363 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.4577, allocations: 0.8474 MB / 1.363 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.4577, allocations: 4 kB / 1.363 GB, free: 10.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008357/0.4585, allocations: 0.5795 MB / 1.364 GB, free: 9.637 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.4595, allocations: 193.7 kB / 1.364 GB, free: 9.453 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.4615, allocations: 1.099 MB / 1.365 GB, free: 8.293 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.4619, allocations: 311.4 kB / 1.366 GB, free: 7.961 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.462, allocations: 39.44 kB / 1.366 GB, free: 7.922 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.462, allocations: 0 / 1.366 GB, free: 7.922 MB / 1.061 GB Notification: Performance of Templates: time 0.02545/0.4875, allocations: 18.07 MB / 1.383 GB, free: 5.879 MB / 1.076 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/jenkins1/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: 15.098921068012714]