Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.001419/0.001419, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001518/0.001518, allocations: 214.6 kB / 22.99 MB, free: 4.945 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.217/3.217, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 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.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [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.00205/0.00205, allocations: 73.62 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4223, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00519/0.4275, allocations: 2.638 MB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.4304, allocations: 1.301 MB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.4306, allocations: 7.938 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000939/0.4315, allocations: 179.3 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005512/0.432, allocations: 163.3 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.4325, allocations: 166 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.4329, allocations: 279.1 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.4333, allocations: 117.5 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.4335, allocations: 119.6 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.4338, allocations: 135.5 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.4338, allocations: 16 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.4341, allocations: 135.6 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.4342, allocations: 63.81 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.4343, allocations: 79.64 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.4347, allocations: 302.9 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4347, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4347, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4347, allocations: 0 / 1.332 GB, free: 12.18 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009176/0.4356, allocations: 437.5 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4356, allocations: 8.031 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/0.4362, allocations: 76.69 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.4365, allocations: 180.2 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.4365, allocations: 12.66 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.4365, allocations: 12.36 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.4371, allocations: 372.1 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4371, allocations: 3.938 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.4372, allocations: 12 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/0.4372, allocations: 28.25 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.4378, allocations: 260.5 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.4394, allocations: 1.103 MB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.4399, allocations: 233.1 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.4401, allocations: 129.6 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.4401, allocations: 3.938 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.4402, allocations: 38.56 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.4402, allocations: 0 / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0007966/0.4409, allocations: 344.3 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.441, allocations: 81.11 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.4412, allocations: 178.9 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.4412, allocations: 29.7 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4413, allocations: 148.1 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.4414, allocations: 55.55 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.4415, allocations: 41.7 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4416, allocations: 330.8 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.4419, allocations: 116.8 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.4422, allocations: 201.3 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.4427, allocations: 289 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4427, allocations: 4.031 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000597/0.4433, allocations: 317.3 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4433, allocations: 6.031 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4433, allocations: 4 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4433, allocations: 4 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.4436, allocations: 60.09 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.4436, allocations: 4 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.4438, allocations: 35.86 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.4438, allocations: 4 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002924/0.4441, allocations: 200.1 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002664/0.4444, allocations: 183.5 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004568/0.4448, allocations: 276.4 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.4448, allocations: 0 / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005462/0.4454, allocations: 285.4 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.4454, allocations: 7.984 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4454, allocations: 4 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.4454, allocations: 7.984 kB / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.4456, allocations: 51.84 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4456, allocations: 3.984 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.4458, allocations: 27.88 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.4458, allocations: 12 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.446, allocations: 196.3 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.446, allocations: 15.91 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005685/0.4466, allocations: 273.9 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4466, allocations: 0 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4466, allocations: 0 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4466, allocations: 0 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.4477, allocations: 0.6065 MB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.4477, allocations: 0 / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.4479, allocations: 51.89 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4479, allocations: 0 / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.4479, allocations: 8 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4479, allocations: 4 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4479, allocations: 3.938 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.4485, allocations: 445.9 kB / 1.339 GB, free: 4.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4486, allocations: 43.97 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.4487, allocations: 4 kB / 1.339 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.4489, allocations: 19.97 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.4489, allocations: 15.92 kB / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.4489, allocations: 4 kB / 1.339 GB, free: 3.934 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001346/0.4491, allocations: 132.3 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4491, allocations: 0 / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004761/0.4495, allocations: 79.89 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001525/0.4497, allocations: 111.1 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007755/0.4505, allocations: 363.5 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4505, allocations: 0 / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.4507, allocations: 109 kB / 1.34 GB, free: 3.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.4512, allocations: 42.48 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008825/0.4521, allocations: 484.3 kB / 1.341 GB, free: 2.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.4522, allocations: 131.9 kB / 1.341 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.4523, allocations: 19.44 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4523, allocations: 0 / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of Templates: time 0.005057/0.4574, allocations: 2.696 MB / 1.343 GB, free: 15.74 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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: 12.23803642205894]