Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001897/0.001897, 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.00245/0.00245, allocations: 214.2 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.552/1.552, 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.343/3.343, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower") [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.002961/0.002961, allocations: 72.58 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4474, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002917/0.4503, allocations: 1.467 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0007713/0.4511, allocations: 358.8 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.4512, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.4512, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.4512, allocations: 7.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.4517, allocations: 115.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.4518, allocations: 19.92 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4519, allocations: 19.91 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.4519, allocations: 11.94 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.4519, allocations: 11.98 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.452, allocations: 7.875 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.4523, allocations: 271.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.4524, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.4524, allocations: 19.86 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.4526, allocations: 107.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4526, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4526, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.4526, allocations: 0 / 1.329 GB, free: 14.58 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004915/0.4531, allocations: 290 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4531, allocations: 8.031 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.4532, allocations: 8.891 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4533, allocations: 102.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4533, allocations: 8.375 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.4533, allocations: 4.375 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.4535, allocations: 50.23 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4535, allocations: 192 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4535, allocations: 3.938 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4535, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.4537, allocations: 39.89 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.454, allocations: 192.6 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.4542, allocations: 42.59 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.4542, allocations: 20.91 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/0.4547, allocations: 83.84 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.4548, allocations: 34.56 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 2.985e-06/0.4548, allocations: 7.922 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003962/0.4552, allocations: 85.59 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.4552, allocations: 55.41 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.4553, allocations: 97.86 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.4553, allocations: 29.7 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.4554, allocations: 88.12 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.4554, allocations: 12.02 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.4554, allocations: 17.72 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4556, allocations: 310.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.4557, allocations: 19.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.4557, allocations: 20.16 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4559, allocations: 40.77 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4559, allocations: 4.062 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002062/0.4561, allocations: 77.59 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4561, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4561, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4561, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.4562, allocations: 11.98 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4562, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.4562, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.4563, allocations: 4.031 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 8.948e-05/0.4563, allocations: 117.8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.4564, allocations: 7.891 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.4566, allocations: 77.22 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.4566, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4566, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4566, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.4568, allocations: 109.3 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4568, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.4568, allocations: 12.02 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.4568, allocations: 7.938 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.4568, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4568, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4568, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.4571, allocations: 163.5 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.4571, allocations: 7.938 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.4571, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.4572, allocations: 12.02 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.4572, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.4572, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.4573, allocations: 83.28 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4573, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002326/0.4575, allocations: 15.98 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001926/0.4577, allocations: 115.2 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4579, allocations: 43.95 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4579, allocations: 3.938 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.458, allocations: 19.92 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4583, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.4586, allocations: 113.5 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.606e-05/0.4587, allocations: 63.34 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.4587, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.4588, allocations: 11.56 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4588, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Templates: time 0.003464/0.4622, allocations: 0.7733 MB / 1.333 GB, free: 10.8 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.492783399007749]