Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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.001705/0.001705, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001588/0.001588, allocations: 214.7 kB / 22.99 MB, free: 4.984 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.295/3.295, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor") [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.002069/0.002069, allocations: 70.47 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4508, allocations: 176.1 MB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006589/0.4574, allocations: 3.795 MB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003375/0.4608, allocations: 1.71 MB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.461, allocations: 11.94 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.4626, allocations: 494.6 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006228/0.4632, allocations: 230.9 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.4638, allocations: 208.7 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006125/0.4644, allocations: 478.4 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005922/0.465, allocations: 289.4 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.4653, allocations: 199.3 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.4657, allocations: 231.1 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.4658, allocations: 28 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.4662, allocations: 223.5 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.4663, allocations: 127.6 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.4665, allocations: 147.4 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006636/0.4672, allocations: 0.5059 MB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4672, allocations: 4 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4672, allocations: 0 / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.4672, allocations: 0 / 1.335 GB, free: 8.395 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001113/0.4683, allocations: 0.5596 MB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4683, allocations: 8.031 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009104/0.4693, allocations: 140.6 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.4697, allocations: 238.5 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.4697, allocations: 21.03 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.439e-05/0.4698, allocations: 24.38 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/0.4706, allocations: 0.5901 MB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4706, allocations: 4 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.4707, allocations: 15.94 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/0.4707, allocations: 32.58 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.4713, allocations: 326.3 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.4733, allocations: 1.513 MB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.4737, allocations: 162.6 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.4739, allocations: 96.8 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.4739, allocations: 0 / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.474, allocations: 34.56 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.474, allocations: 0 / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0006074/0.4746, allocations: 232.9 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4746, allocations: 51.41 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.4749, allocations: 232 kB / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.4749, allocations: 25.7 kB / 1.34 GB, free: 3.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4751, allocations: 220.1 kB / 1.34 GB, free: 3.652 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.4751, allocations: 51.58 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.4752, allocations: 41.95 kB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4754, allocations: 334.8 kB / 1.34 GB, free: 3.215 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4755, allocations: 60.44 kB / 1.34 GB, free: 3.156 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.4756, allocations: 148.7 kB / 1.34 GB, free: 2.973 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.4759, allocations: 220.8 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4759, allocations: 0 / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004222/0.4764, allocations: 258 kB / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4764, allocations: 8.375 kB / 1.341 GB, free: 2.449 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4764, allocations: 8 kB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.4766, allocations: 24.91 kB / 1.341 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.4768, allocations: 55.92 kB / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.4779, allocations: 1.295 MB / 1.342 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.4781, allocations: 23.78 kB / 1.342 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.4781, allocations: 16.16 kB / 1.342 GB, free: 0.9258 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.4783, allocations: 165.7 kB / 1.342 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.4783, allocations: 23.78 kB / 1.342 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.4784, allocations: 25.47 kB / 1.343 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4784, allocations: 0 / 1.343 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4784, allocations: 0 / 1.343 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4784, allocations: 3.984 kB / 1.343 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00089/0.4793, allocations: 0.5661 MB / 1.343 GB, free: 76 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4793, allocations: 0 / 1.343 GB, free: 76 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.4794, allocations: 23.94 kB / 1.343 GB, free: 52 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.294e-05/0.4795, allocations: 24.84 kB / 1.343 GB, free: 24 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4795, allocations: 8 kB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.4806, allocations: 1.288 MB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4806, allocations: 4.031 kB / 1.344 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.4809, allocations: 318.5 kB / 1.345 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.481, allocations: 27.89 kB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.481, allocations: 8 kB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.4812, allocations: 11.98 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.4812, allocations: 15.92 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.4812, allocations: 16.03 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001555/0.4814, allocations: 161.6 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4814, allocations: 0 / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003985/0.4818, allocations: 79.78 kB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001202/0.4819, allocations: 99.25 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.4824, allocations: 274.7 kB / 1.345 GB, free: 13.58 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4824, allocations: 0 / 1.345 GB, free: 13.58 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.4826, allocations: 186.5 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.4831, allocations: 54.61 kB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.484, allocations: 0.5483 MB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.4842, allocations: 186.1 kB / 1.346 GB, free: 12.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.4844, allocations: 41.91 kB / 1.346 GB, free: 12.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.4844, allocations: 19.72 kB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.4844, allocations: 0 / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of Templates: time 0.00699/0.4914, allocations: 2.849 MB / 1.349 GB, free: 9.68 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.Resistor.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.575892460998148]