Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007869/0.007869, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.001721/0.001722, allocations: 189 kB / 16.67 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.89 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8559, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002457/0.8584, allocations: 0.5844 MB / 1.167 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009577/0.8594, allocations: 328.7 kB / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.8594, allocations: 0 / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.8595, allocations: 0 / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-06/0.8595, allocations: 0 / 1.168 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.8601, allocations: 105.5 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.8602, allocations: 3.984 kB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.8603, allocations: 4 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.8603, allocations: 4 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.307e-05/0.8603, allocations: 0 / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.8603, allocations: 0 / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005994/0.8609, allocations: 271.7 kB / 1.168 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.861, allocations: 3.984 kB / 1.168 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.861, allocations: 0 / 1.168 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.8613, allocations: 92.34 kB / 1.168 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.8613, allocations: 3.938 kB / 1.168 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8613, allocations: 0 / 1.168 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.8613, allocations: 0 / 1.168 GB, free: 2.445 MB / 0.8887 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.0004279/0.8617, allocations: 347.2 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.8618, allocations: 12.92 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.8619, allocations: 0.9375 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.862, allocations: 160.4 kB / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.8621, allocations: 384 / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.8621, allocations: 384 / 1.168 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.8622, allocations: 30.27 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8622, allocations: 192 / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.8622, allocations: 3.938 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.8622, allocations: 4 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.956e-05/0.8623, allocations: 3.984 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.8625, allocations: 153.7 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.8625, allocations: 20.98 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.8626, allocations: 8.953 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.8632, allocations: 425.5 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.8633, allocations: 34.56 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.8633, allocations: 0 / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001954/0.8635, allocations: 45.52 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.8635, allocations: 51.41 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.251e-05/0.8636, allocations: 89.86 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.8636, allocations: 29.7 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.8637, allocations: 84.27 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.8637, allocations: 4 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.8638, allocations: 9.719 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8639, allocations: 310.8 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.8639, allocations: 8 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.186e-06/0.864, allocations: 0 / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.864, allocations: 8.859 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.864, allocations: 4.062 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001059/0.8641, allocations: 41.62 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.8642, allocations: 4 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8642, allocations: 3.938 kB / 1.17 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.8642, allocations: 7.938 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.8643, allocations: 0 / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.8643, allocations: 0 / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.8643, allocations: 0 / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.8643, allocations: 0 / 1.17 GB, free: 268 kB / 0.8887 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 9.768e-05/0.8644, allocations: 113.9 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.8645, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.8646, allocations: 48.69 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8646, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8646, allocations: 0 / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.8646, allocations: 7.938 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.8648, allocations: 145.7 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.8648, allocations: 3.938 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.8648, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.8648, allocations: 4.031 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.8648, allocations: 7.938 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8648, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8649, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.865, allocations: 53.14 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.865, allocations: 85.09 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.8651, allocations: 3.938 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.8651, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.8651, allocations: 4.031 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.8651, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.354e-05/0.8652, allocations: 75.28 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8652, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003076/0.8655, allocations: 12 kB / 1.17 GB, free: 15.6 MB / 0.9044 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.0002422/0.8657, allocations: 119.2 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.167e-05/0.8658, allocations: 3.938 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8659, allocations: 8.062 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.8659, allocations: 4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.8661, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.8663, allocations: 72.94 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.8666, allocations: 0.6729 MB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.189e-05/0.8666, allocations: 3.938 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.8667, allocations: 11.44 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.8667, allocations: 0 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of Templates: time 0.003582/0.8703, allocations: 468.4 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches