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.00903/0.00903, allocations: 107.9 kB / 15.74 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.002179/0.002179, allocations: 189.5 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.182/2.182, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.138, allocations: 140.4 MB / 1.088 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001645/1.14, allocations: 0.5766 MB / 1.089 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006781/1.141, allocations: 330.8 kB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/1.141, allocations: 1.594 kB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/1.141, allocations: 4 kB / 1.089 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.545e-06/1.141, allocations: 0 / 1.089 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/1.141, allocations: 107.5 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.841e-05/1.141, allocations: 1.344 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/1.141, allocations: 2.234 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/1.141, allocations: 1.062 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.084e-05/1.141, allocations: 0.5625 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/1.141, allocations: 5.062 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004884/1.142, allocations: 283.8 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/1.142, allocations: 5.766 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/1.142, allocations: 3.938 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/1.142, allocations: 83.31 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.142, allocations: 0.7969 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/1.142, allocations: 1.094 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.38e-06/1.142, allocations: 0 / 1.089 GB, free: 5.062 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.0002677/1.142, allocations: 335.8 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.142, allocations: 9.094 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/1.142, allocations: 2.734 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.646e-05/1.142, allocations: 165.8 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/1.142, allocations: 384 / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/1.142, allocations: 1.75 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.701e-05/1.143, allocations: 28.36 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/1.143, allocations: 192 / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/1.143, allocations: 5.812 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/1.143, allocations: 0 / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/1.143, allocations: 5.703 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001038/1.143, allocations: 148.1 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.321e-05/1.143, allocations: 20.77 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/1.143, allocations: 6.609 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/1.143, allocations: 425.2 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/1.143, allocations: 35.89 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/1.143, allocations: 3.938 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001529/1.143, allocations: 40.69 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/1.143, allocations: 52.34 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.206e-05/1.144, allocations: 90.47 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/1.144, allocations: 26.61 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.247e-05/1.144, allocations: 84.14 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/1.144, allocations: 1.297 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/1.144, allocations: 16.86 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/1.144, allocations: 311.5 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-06/1.144, allocations: 1.062 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/1.144, allocations: 1.219 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/1.144, allocations: 8.078 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.144, allocations: 1.25 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.942e-05/1.144, allocations: 39.69 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.144, allocations: 5.953 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.144, allocations: 4.094 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.144, allocations: 5.625 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.969e-05/1.144, allocations: 2.938 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.144, allocations: 0 / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-06/1.144, allocations: 0 / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/1.144, allocations: 8.812 kB / 1.091 GB, free: 3 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 5.986e-05/1.144, allocations: 107.6 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/1.144, allocations: 1.984 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.52e-05/1.144, allocations: 55.64 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.144, allocations: 0.7031 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.144, allocations: 1 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/1.144, allocations: 0 / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.461e-05/1.144, allocations: 144.8 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.144, allocations: 1.062 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/1.144, allocations: 1.625 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.144, allocations: 0.6875 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/1.144, allocations: 5.328 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/1.144, allocations: 0 / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.144, allocations: 5.672 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.045e-05/1.144, allocations: 57.03 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/1.144, allocations: 77.67 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/1.144, allocations: 9.406 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-06/1.144, allocations: 1.125 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/1.144, allocations: 0.5156 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/1.144, allocations: 1.859 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.674e-05/1.144, allocations: 79.31 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.144, allocations: 3.938 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001886/1.145, allocations: 10.89 kB / 1.092 GB, free: 2.387 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.0001865/1.145, allocations: 115.8 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.465e-05/1.145, allocations: 5.234 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.145, allocations: 0 / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.644e-06/1.145, allocations: 1.938 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/1.145, allocations: 11.75 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/1.145, allocations: 79.64 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/1.145, allocations: 0.6725 MB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.671e-05/1.145, allocations: 0 / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/1.145, allocations: 8.625 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/1.145, allocations: 0 / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of Templates: time 0.0027/1.148, allocations: 463.8 kB / 1.093 GB, free: 1.414 MB / 0.8575 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