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.001118/0.001118, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00861/0.00861, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 9.156 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0009219/0.3392, allocations: 314.9 kB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.3402, allocations: 350.9 kB / 1.059 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.02e-05/0.3402, allocations: 4 kB / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.3403, allocations: 0 / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-06/0.3403, allocations: 0 / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.3408, allocations: 75.22 kB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.716e-05/0.3409, allocations: 0 / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.3409, allocations: 4 kB / 1.059 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.3409, allocations: 3.984 kB / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.686e-05/0.341, allocations: 0 / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.341, allocations: 7.938 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.3416, allocations: 271.7 kB / 1.06 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.3417, allocations: 0 / 1.06 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.541e-05/0.3417, allocations: 29.64 kB / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.342, allocations: 87.86 kB / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.342, allocations: 0 / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.342, allocations: 0 / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.342, allocations: 0 / 1.06 GB, free: 4.301 MB / 0.8106 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.0003779/0.3424, allocations: 332.9 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3424, allocations: 8.031 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.3425, allocations: 12.88 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3427, allocations: 168.4 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.3427, allocations: 384 / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3427, allocations: 384 / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.3428, allocations: 26.27 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3429, allocations: 192 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3429, allocations: 3.938 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3429, allocations: 4 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.602e-05/0.3429, allocations: 3.938 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.3431, allocations: 149.7 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.632e-05/0.3432, allocations: 22.61 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.3432, allocations: 4.859 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006967/0.3439, allocations: 425.6 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.344, allocations: 34.56 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.344, allocations: 0 / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001965/0.3442, allocations: 41.58 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3443, allocations: 51.41 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/0.3443, allocations: 97.78 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3443, allocations: 25.7 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.3444, allocations: 80.14 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.3444, allocations: 3.984 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.3445, allocations: 17.84 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3446, allocations: 310.8 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.3446, allocations: 4 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.3446, allocations: 0 / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.3447, allocations: 8.859 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3447, allocations: 0 / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001106/0.3448, allocations: 33.64 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3448, allocations: 7.984 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3448, allocations: 4.094 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3449, allocations: 7.938 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.378e-05/0.3449, allocations: 0 / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3449, allocations: 0 / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.345, allocations: 0 / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.345, allocations: 0 / 1.062 GB, free: 2.133 MB / 0.8106 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 8.391e-05/0.3451, allocations: 113.8 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.3451, allocations: 0 / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3452, allocations: 48.69 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3452, allocations: 3.984 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.3453, allocations: 4 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3453, allocations: 4 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3454, allocations: 145.7 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3454, allocations: 3.938 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.3454, allocations: 0 / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.3455, allocations: 7.984 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.3455, allocations: 3.938 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3455, allocations: 0 / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3455, allocations: 4.031 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.3456, allocations: 49.14 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.3456, allocations: 81.11 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3457, allocations: 7.922 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.378e-06/0.3457, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.3457, allocations: 4 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3457, allocations: 3.938 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.3458, allocations: 79.31 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3458, allocations: 3.938 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002793/0.3461, allocations: 16.28 kB / 1.062 GB, free: 1.461 MB / 0.8106 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.000256/0.3463, allocations: 107.2 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.684e-05/0.3464, allocations: 7.984 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3465, allocations: 0 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.3465, allocations: 4 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.3467, allocations: 4.125 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.347, allocations: 80.64 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3473, allocations: 0.6731 MB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.3474, allocations: 0 / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.3474, allocations: 7.438 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.3474, allocations: 0 / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of Templates: time 0.00418/0.3516, allocations: 460.3 kB / 1.063 GB, free: 68 kB / 0.8106 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