Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, 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.008774/0.008774, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.823/2.823, allocations: 462.6 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 12.12 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3524, allocations: 159.6 MB / 1.059 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0009777/0.3535, allocations: 342.7 kB / 1.059 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000862/0.3543, allocations: 366.8 kB / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.3544, allocations: 0 / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.3544, allocations: 0 / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.736e-05/0.3544, allocations: 0 / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.3549, allocations: 79.09 kB / 1.059 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.952e-05/0.355, allocations: 15.92 kB / 1.059 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.355, allocations: 0 / 1.059 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.3551, allocations: 8 kB / 1.059 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.3551, allocations: 7.922 kB / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.3551, allocations: 0 / 1.059 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.3556, allocations: 279.6 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.3556, allocations: 0 / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.3556, allocations: 29.7 kB / 1.06 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.3558, allocations: 95.77 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3558, allocations: 0 / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3558, allocations: 0 / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3559, allocations: 4 kB / 1.06 GB, free: 4.219 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000399/0.3563, allocations: 339.5 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3563, allocations: 12.03 kB / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.3564, allocations: 0.9375 kB / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3565, allocations: 160.4 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.3565, allocations: 4.375 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3565, allocations: 384 / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3567, allocations: 38.25 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3567, allocations: 4.188 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3567, allocations: 3.938 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3567, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.467e-05/0.3567, allocations: 7.938 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.3569, allocations: 154 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.357, allocations: 18.61 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.885e-05/0.357, allocations: 8.922 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.3577, allocations: 465.4 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3578, allocations: 34.56 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3578, allocations: 4 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000554/0.3583, allocations: 262.1 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.3584, allocations: 55.34 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.3585, allocations: 101.8 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3585, allocations: 25.7 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.3585, allocations: 80.48 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3585, allocations: 7.906 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.3586, allocations: 17.72 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.3587, allocations: 310.8 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.3587, allocations: 7.984 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.3587, allocations: 17.72 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.3588, allocations: 21.72 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3588, allocations: 4 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.299e-05/0.3589, allocations: 57.53 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3589, allocations: 11.94 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3589, allocations: 0 / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3589, allocations: 0 / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.359, allocations: 8 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.359, allocations: 0 / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.359, allocations: 0 / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3591, allocations: 3.984 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.142e-05/0.3592, allocations: 123.4 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.3592, allocations: 3.938 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.3593, allocations: 49.33 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3593, allocations: 4.031 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3593, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3593, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.3595, allocations: 153.7 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3595, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.3595, allocations: 11.98 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3595, allocations: 3.938 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.3596, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3596, allocations: 4 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3596, allocations: 3.938 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3597, allocations: 81.06 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.3598, allocations: 77.11 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3598, allocations: 3.938 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.3598, allocations: 8.047 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.3599, allocations: 11.97 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3599, allocations: 0 / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.3599, allocations: 79.28 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3599, allocations: 0 / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002124/0.3601, allocations: 20 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002523/0.3604, allocations: 127.2 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.567e-05/0.3605, allocations: 28.02 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3605, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.619e-05/0.3605, allocations: 8 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.3607, allocations: 4 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.361, allocations: 116.6 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3612, allocations: 0.677 MB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.3612, allocations: 8.125 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.3613, allocations: 7.438 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3613, allocations: 0 / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.003245/0.3645, allocations: 0.8603 MB / 1.064 GB, free: 15.02 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches