Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_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_11_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.006408/0.006408, allocations: 101.5 kB / 15.73 MB, free: 6.012 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.001331/0.001331, allocations: 191.9 kB / 16.67 MB, free: 5.926 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3565, allocations: 159.1 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001853/0.3584, allocations: 0.5952 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006688/0.3591, allocations: 348.6 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.3591, allocations: 0 / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.3591, allocations: 0 / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.163e-05/0.3591, allocations: 0 / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.3596, allocations: 119.6 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.661e-05/0.3597, allocations: 4 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.3597, allocations: 11.92 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.817e-05/0.3597, allocations: 3.984 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.3598, allocations: 11.94 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.3598, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.3602, allocations: 271.6 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.3602, allocations: 4 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.3602, allocations: 4 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.3604, allocations: 95.7 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3604, allocations: 4 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3604, allocations: 0 / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3604, allocations: 0 / 1.222 GB, free: 12.28 MB / 0.9825 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.0004041/0.3608, allocations: 347.2 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3608, allocations: 8.031 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.3609, allocations: 4.938 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.361, allocations: 160.4 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.361, allocations: 384 / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.361, allocations: 384 / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.3612, allocations: 50.19 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3612, allocations: 192 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3612, allocations: 3.938 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3612, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.3612, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.3614, allocations: 153.7 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.959e-05/0.3614, allocations: 18.61 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.3615, allocations: 12.92 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007332/0.3622, allocations: 461.5 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.3622, allocations: 42.44 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3622, allocations: 0 / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005235/0.3628, allocations: 250.3 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.3628, allocations: 51.41 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.3629, allocations: 101.8 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3629, allocations: 25.7 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.3629, allocations: 80.48 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3629, allocations: 23.84 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.363, allocations: 13.72 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3631, allocations: 314.8 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.3631, allocations: 8 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.3631, allocations: 17.77 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.824e-05/0.3632, allocations: 29.66 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3632, allocations: 4 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.27e-05/0.3633, allocations: 53.78 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3633, allocations: 15.88 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3633, allocations: 3.984 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3633, allocations: 0 / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.3634, allocations: 11.94 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3634, allocations: 3.984 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.3634, allocations: 0 / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3634, allocations: 64 / 1.224 GB, free: 9.68 MB / 0.9825 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 7.315e-05/0.3635, allocations: 114.4 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3635, allocations: 3.938 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.3636, allocations: 53.19 kB / 1.224 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3636, allocations: 4 kB / 1.224 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3636, allocations: 0 / 1.224 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3636, allocations: 3.984 kB / 1.224 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.3637, allocations: 149.7 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3637, allocations: 7.984 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.3638, allocations: 7.938 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3638, allocations: 3.938 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.3638, allocations: 0 / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3638, allocations: 0 / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3638, allocations: 4 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.3639, allocations: 77.08 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.364, allocations: 81.05 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.364, allocations: 11.98 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.116e-05/0.364, allocations: 4.031 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.364, allocations: 0 / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.364, allocations: 0 / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.3641, allocations: 79.28 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 0 / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002257/0.3643, allocations: 27.92 kB / 1.225 GB, free: 8.957 MB / 0.9825 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.0002184/0.3645, allocations: 131.2 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.932e-05/0.3646, allocations: 15.98 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3646, allocations: 0 / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.3646, allocations: 12 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.3648, allocations: 6.719 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.3652, allocations: 121.3 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3655, allocations: 0.6806 MB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.3655, allocations: 8.125 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.3655, allocations: 11.44 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3655, allocations: 0 / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of Templates: time 0.003684/0.3692, allocations: 0.8744 MB / 1.227 GB, free: 7.043 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches