Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_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_10_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.009515/0.009516, allocations: 98.36 kB / 15.73 MB, free: 5.551 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.002142/0.002143, allocations: 196.2 kB / 16.68 MB, free: 5.48 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.633/2.633, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3288, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002371/0.3312, allocations: 0.5845 MB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008686/0.3321, allocations: 343.1 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.3322, allocations: 0 / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.3323, allocations: 0 / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.542e-05/0.3323, allocations: 0 / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.333, allocations: 115.6 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.129e-05/0.3331, allocations: 27.84 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.3331, allocations: 8 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.3332, allocations: 4 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.3332, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3333, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.3338, allocations: 275.6 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.3338, allocations: 0 / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.3338, allocations: 7.938 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.3341, allocations: 95.7 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3341, allocations: 0 / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3341, allocations: 0 / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.3341, allocations: 4 kB / 1.168 GB, free: 5.316 MB / 0.92 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.0004837/0.3346, allocations: 343.3 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.3347, allocations: 15.97 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.3348, allocations: 0.9375 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.335, allocations: 168.3 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.335, allocations: 8.375 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3351, allocations: 384 / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.3352, allocations: 30.27 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3352, allocations: 4.188 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3352, allocations: 3.938 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3353, allocations: 0 / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.081e-05/0.3353, allocations: 4 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.3355, allocations: 157.6 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.733e-05/0.3356, allocations: 30.5 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.3356, allocations: 4.859 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008615/0.3365, allocations: 457.5 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3365, allocations: 30.56 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.3365, allocations: 0 / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0006568/0.3372, allocations: 262.3 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3373, allocations: 55.39 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.3374, allocations: 93.86 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3374, allocations: 25.7 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.3374, allocations: 84.14 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.3375, allocations: 8.25 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.3375, allocations: 25.7 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3377, allocations: 310.8 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.3377, allocations: 4 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.3377, allocations: 21.72 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/0.3378, allocations: 29.64 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3378, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001168/0.3379, allocations: 53.58 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.338, allocations: 7.938 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.338, allocations: 0 / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.338, allocations: 7.984 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.3381, allocations: 4 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.3381, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.3381, allocations: 7.938 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3381, allocations: 4 kB / 1.17 GB, free: 2.723 MB / 0.92 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.112e-05/0.3382, allocations: 117.9 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3382, allocations: 3.938 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.3384, allocations: 57.11 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3384, allocations: 0 / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3384, allocations: 0 / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3384, allocations: 0 / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.3385, allocations: 157.7 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3385, allocations: 192 / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.3386, allocations: 12 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3386, allocations: 3.938 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3386, allocations: 3.984 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3386, allocations: 0 / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3386, allocations: 0 / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.3388, allocations: 77.11 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.3389, allocations: 89.03 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3389, allocations: 3.938 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.3389, allocations: 4.062 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.339, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.339, allocations: 8 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.676e-05/0.339, allocations: 75.28 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.339, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002312/0.3393, allocations: 27.92 kB / 1.171 GB, free: 1.988 MB / 0.92 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.0002284/0.3395, allocations: 123.2 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.3396, allocations: 20.09 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3396, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.3397, allocations: 15.92 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.3398, allocations: 5.562 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.3401, allocations: 105.4 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3404, allocations: 0.6767 MB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.3404, allocations: 12.11 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.3404, allocations: 7.438 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of SimCode: time 2.6e-07/0.3405, allocations: 3.938 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of Templates: time 0.003402/0.3439, allocations: 0.8679 MB / 1.173 GB, free: 100 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches