Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001999/0.001999, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.002141/0.002141, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 63.89 kB / 1.061 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.11, allocations: 160.8 MB / 1.218 GB, free: 3.742 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008013/1.118, allocations: 4.99 MB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005374/1.123, allocations: 2.537 MB / 1.226 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005413/1.124, allocations: 34.97 kB / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/1.125, allocations: 429.7 kB / 1.226 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/1.126, allocations: 462.2 kB / 1.227 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/1.127, allocations: 381.3 kB / 1.227 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001289/1.129, allocations: 0.9258 MB / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/1.129, allocations: 261.1 kB / 1.228 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005405/1.13, allocations: 348.3 kB / 1.229 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/1.13, allocations: 369.5 kB / 1.229 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.171e-05/1.13, allocations: 38.56 kB / 1.229 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009651/1.131, allocations: 410.4 kB / 1.229 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/1.131, allocations: 191.3 kB / 1.23 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003867/1.132, allocations: 318.5 kB / 1.23 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/1.133, allocations: 0.8884 MB / 1.231 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.133, allocations: 1.031 kB / 1.231 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/1.133, allocations: 0 / 1.231 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.718e-06/1.133, allocations: 0 / 1.231 GB, free: 10.61 MB / 0.9356 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.001576/1.135, allocations: 0.9598 MB / 1.232 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/1.135, allocations: 12.03 kB / 1.232 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/1.136, allocations: 208.2 kB / 1.232 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009007/1.137, allocations: 0.5339 MB / 1.232 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/1.137, allocations: 37.36 kB / 1.232 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/1.137, allocations: 48.36 kB / 1.232 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/1.138, allocations: 0.8448 MB / 1.233 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/1.138, allocations: 7.875 kB / 1.233 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/1.138, allocations: 24 kB / 1.233 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-05/1.138, allocations: 64.95 kB / 1.233 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/1.139, allocations: 0.5616 MB / 1.234 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005252/1.144, allocations: 5.655 MB / 1.239 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/1.145, allocations: 426.1 kB / 1.24 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/1.145, allocations: 212.6 kB / 1.24 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/1.145, allocations: 4.531 kB / 1.24 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/1.145, allocations: 34.56 kB / 1.24 GB, free: 496 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.442e-06/1.145, allocations: 0 / 1.24 GB, free: 496 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002734/1.148, allocations: 1.517 MB / 1.242 GB, free: 14.85 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/1.148, allocations: 55.69 kB / 1.242 GB, free: 14.79 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/1.149, allocations: 0.4911 MB / 1.242 GB, free: 14.29 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/1.149, allocations: 33.7 kB / 1.242 GB, free: 14.25 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/1.149, allocations: 355.8 kB / 1.242 GB, free: 13.89 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/1.149, allocations: 126.9 kB / 1.243 GB, free: 13.77 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/1.149, allocations: 118.2 kB / 1.243 GB, free: 13.65 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0002124/1.15, allocations: 366.7 kB / 1.243 GB, free: 13.28 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/1.15, allocations: 197.2 kB / 1.243 GB, free: 13.09 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/1.15, allocations: 451.3 kB / 1.244 GB, free: 12.54 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009293/1.151, allocations: 0.6796 MB / 1.244 GB, free: 11.74 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.151, allocations: 8 kB / 1.244 GB, free: 11.73 MB / 0.9513 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001361/1.153, allocations: 0.81 MB / 1.245 GB, free: 10.9 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.153, allocations: 8.156 kB / 1.245 GB, free: 10.89 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.153, allocations: 12 kB / 1.245 GB, free: 10.88 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000504/1.153, allocations: 156.1 kB / 1.245 GB, free: 10.71 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/1.154, allocations: 119.8 kB / 1.245 GB, free: 10.59 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/1.158, allocations: 4.348 MB / 1.25 GB, free: 5.824 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/1.158, allocations: 35.97 kB / 1.25 GB, free: 5.789 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/1.158, allocations: 27.94 kB / 1.25 GB, free: 5.762 MB / 0.9513 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.0003037/1.159, allocations: 221 kB / 1.25 GB, free: 5.539 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/1.159, allocations: 67.67 kB / 1.25 GB, free: 5.473 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/1.16, allocations: 0.5968 MB / 1.251 GB, free: 4.852 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.16, allocations: 4 kB / 1.251 GB, free: 4.848 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/1.16, allocations: 0 / 1.251 GB, free: 4.848 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.16, allocations: 0 / 1.251 GB, free: 4.848 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/1.162, allocations: 1.255 MB / 1.252 GB, free: 3.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.162, allocations: 7.984 kB / 1.252 GB, free: 3.492 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/1.162, allocations: 55.89 kB / 1.252 GB, free: 3.438 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/1.162, allocations: 136.4 kB / 1.252 GB, free: 3.289 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/1.162, allocations: 11.94 kB / 1.252 GB, free: 3.277 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/1.166, allocations: 4.337 MB / 1.256 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/1.166, allocations: 8.188 kB / 1.256 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.167, allocations: 0.7001 MB / 1.257 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/1.168, allocations: 176.6 kB / 1.257 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/1.168, allocations: 8 kB / 1.257 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/1.168, allocations: 23.97 kB / 1.257 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/1.168, allocations: 35.89 kB / 1.257 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/1.168, allocations: 12 kB / 1.257 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000412/1.168, allocations: 334.8 kB / 1.257 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/1.168, allocations: 0 / 1.257 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006956/1.169, allocations: 140 kB / 1.258 GB, free: 13.03 MB / 0.9669 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.0001741/1.169, allocations: 116.4 kB / 1.258 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001544/1.171, allocations: 1.01 MB / 1.259 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.171, allocations: 0 / 1.259 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009173/1.172, allocations: 0.7267 MB / 1.259 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/1.173, allocations: 205.2 kB / 1.26 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/1.174, allocations: 1.054 MB / 1.261 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/1.175, allocations: 0.9058 MB / 1.262 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003132/1.175, allocations: 121.3 kB / 1.262 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/1.175, allocations: 35.44 kB / 1.262 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/1.175, allocations: 0 / 1.262 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of Templates: time 0.01608/1.191, allocations: 8.041 MB / 1.27 GB, free: 0.668 MB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.735854161903262]