Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009928/0.009928, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001937/0.001937, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.532/1.532, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.576/2.576, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.89 kB / 1.054 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8182/0.8194, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001584/0.8211, allocations: 0.5844 MB / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005951/0.8217, allocations: 336.7 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.8217, allocations: 0 / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.8217, allocations: 4 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.01e-06/0.8217, allocations: 0 / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.8222, allocations: 99.7 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.482e-05/0.8222, allocations: 7.938 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.8223, allocations: 3.984 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.137e-05/0.8223, allocations: 0 / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.875e-05/0.8223, allocations: 8 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.687e-06/0.8223, allocations: 0 / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.8227, allocations: 271.7 kB / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.8227, allocations: 0 / 1.209 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.8227, allocations: 7.984 kB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.8229, allocations: 83.86 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.8229, allocations: 0 / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.906e-06/0.8229, allocations: 3.984 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8229, allocations: 0 / 1.209 GB, free: 12.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002747/0.8232, allocations: 327.6 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.8232, allocations: 12.03 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.8233, allocations: 8.875 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.8234, allocations: 164.4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.8234, allocations: 4.312 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.8234, allocations: 384 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.645e-05/0.8235, allocations: 26.27 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.8235, allocations: 192 / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.8235, allocations: 7.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8235, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.8236, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.8237, allocations: 149.7 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.543e-05/0.8237, allocations: 22.55 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.8238, allocations: 4.859 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004808/0.8243, allocations: 429.6 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.8243, allocations: 30.56 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.8243, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.8244, allocations: 45.62 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.8245, allocations: 55.34 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.126e-05/0.8245, allocations: 89.86 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.8245, allocations: 29.64 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.8246, allocations: 80.14 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.8246, allocations: 4.125 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.8246, allocations: 13.72 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.8247, allocations: 310.8 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.8247, allocations: 4 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.289e-06/0.8247, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/0.8248, allocations: 8.859 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8248, allocations: 0 / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.615e-05/0.8249, allocations: 41.75 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.8249, allocations: 5.875 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8249, allocations: 0 / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8249, allocations: 11.86 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.537e-05/0.8249, allocations: 4 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.8249, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.867e-06/0.825, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.825, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 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 5.702e-05/0.825, allocations: 105.8 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.8251, allocations: 7.875 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.8251, allocations: 52.75 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.8251, allocations: 0 / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8252, allocations: 0 / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.8252, allocations: 0 / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.459e-05/0.8253, allocations: 145.7 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.8253, allocations: 0 / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.8253, allocations: 4 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.8253, allocations: 0 / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.8253, allocations: 3.938 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.8253, allocations: 7.969 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8253, allocations: 0 / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.91e-05/0.8254, allocations: 57.14 kB / 1.211 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.8254, allocations: 88.89 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.8254, allocations: 3.938 kB / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.8255, allocations: 0 / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.8255, allocations: 4 kB / 1.211 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.8255, allocations: 4.031 kB / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.349e-05/0.8255, allocations: 75.28 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8255, allocations: 0 / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001933/0.8257, allocations: 12 kB / 1.211 GB, free: 9.352 MB / 0.9356 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.0001668/0.8259, allocations: 115.2 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.281e-05/0.826, allocations: 7.938 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.826, allocations: 0 / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.695e-06/0.826, allocations: 8 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.8261, allocations: 4 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.8263, allocations: 76.94 kB / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.8265, allocations: 0.6729 MB / 1.212 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.551e-05/0.8266, allocations: 4 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.8266, allocations: 11.44 kB / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.8266, allocations: 0 / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of Templates: time 0.00242/0.829, allocations: 456.3 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches