Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01011/0.01011, allocations: 98.52 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 188.4 kB / 16.67 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9656/0.967, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002158/0.9692, allocations: 0.5805 MB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008436/0.97, allocations: 321.6 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.9701, allocations: 1.031 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.9701, allocations: 0 / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.616e-06/0.9701, allocations: 0 / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.9707, allocations: 113.9 kB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.722e-05/0.9708, allocations: 13 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.481e-05/0.9709, allocations: 2.453 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.9709, allocations: 1.125 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.035e-05/0.9709, allocations: 3.984 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.971, allocations: 1.281 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006186/0.9716, allocations: 276.6 kB / 1.089 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.9716, allocations: 3.938 kB / 1.089 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.9716, allocations: 1.219 kB / 1.089 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.9719, allocations: 79.11 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.9719, allocations: 4 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9719, allocations: 4 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.9719, allocations: 1.062 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002943/0.9722, allocations: 332.3 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.9722, allocations: 10 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.9723, allocations: 1.938 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.516e-05/0.9724, allocations: 161.5 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.9724, allocations: 0.9844 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.9724, allocations: 1.406 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.626e-05/0.9725, allocations: 29.55 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.9725, allocations: 4.188 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.9725, allocations: 5 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.9726, allocations: 0 / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.9726, allocations: 5.547 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.9727, allocations: 149.2 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.973e-05/0.9728, allocations: 17.31 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.9728, allocations: 5.891 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.9732, allocations: 433.2 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.9733, allocations: 32.11 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.9733, allocations: 0 / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001548/0.9734, allocations: 44.5 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.9735, allocations: 51.41 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.116e-05/0.9735, allocations: 95.7 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.9735, allocations: 25.7 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.162e-05/0.9735, allocations: 80.14 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.9736, allocations: 1.094 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.9736, allocations: 12.56 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.9736, allocations: 311.5 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.9737, allocations: 1.75 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.9737, allocations: 1.094 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.9737, allocations: 17.27 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9737, allocations: 3.938 kB / 1.091 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.879e-05/0.9738, allocations: 32.09 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9738, allocations: 9.156 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.9738, allocations: 1.797 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.9738, allocations: 3.938 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.9739, allocations: 6.625 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.9739, allocations: 0 / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.9739, allocations: 5.016 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.9739, allocations: 4.594 kB / 1.091 GB, free: 2.715 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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 4.422e-05/0.974, allocations: 107.6 kB / 1.091 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.974, allocations: 5.688 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.9741, allocations: 47.8 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.9741, allocations: 0.7969 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9741, allocations: 0.9688 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.9741, allocations: 0 / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.665e-05/0.9742, allocations: 153.3 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9742, allocations: 0 / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.9742, allocations: 2.781 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.9742, allocations: 0.5625 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.9742, allocations: 5.219 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9742, allocations: 0 / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9742, allocations: 0.7969 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.003e-05/0.9743, allocations: 61.23 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.9743, allocations: 86.72 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.9744, allocations: 4.5 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.9744, allocations: 4.875 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.9744, allocations: 1.75 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.9744, allocations: 0 / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.703e-05/0.9744, allocations: 76.16 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.9744, allocations: 0 / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00021/0.9746, allocations: 10.81 kB / 1.092 GB, free: 2.098 MB / 0.8575 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 (1): * Single equations (assignments): 1 * 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.0001725/0.9748, allocations: 111.9 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.768e-05/0.9749, allocations: 8.312 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9749, allocations: 1.562 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/0.9749, allocations: 1.594 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.9751, allocations: 8.406 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/0.9752, allocations: 75.7 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.9754, allocations: 0.6755 MB / 1.093 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.744e-05/0.9754, allocations: 9.266 kB / 1.093 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.9755, allocations: 8.594 kB / 1.093 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9755, allocations: 0 / 1.093 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.002688/0.9782, allocations: 458.7 kB / 1.093 GB, free: 17.12 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches