Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01216/0.01216, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002055/0.002055, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.184/2.184, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.88 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.118, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00178/1.12, allocations: 0.6156 MB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006866/1.12, allocations: 352.8 kB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/1.12, allocations: 3.938 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/1.12, allocations: 5.094 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/1.12, allocations: 0 / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/1.121, allocations: 131.1 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.545e-05/1.121, allocations: 19.14 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/1.121, allocations: 3.312 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/1.121, allocations: 10.42 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/1.121, allocations: 18.03 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/1.121, allocations: 1.875 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/1.122, allocations: 274.6 kB / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/1.122, allocations: 6.656 kB / 1.089 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/1.122, allocations: 17.19 kB / 1.089 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/1.122, allocations: 104.4 kB / 1.089 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.122, allocations: 0 / 1.089 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.823e-06/1.122, allocations: 0 / 1.089 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.122, allocations: 1.969 kB / 1.089 GB, free: 4.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004014/1.122, allocations: 355.8 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.123, allocations: 9.984 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/1.123, allocations: 7.656 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.926e-05/1.123, allocations: 167.6 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.123, allocations: 6.094 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/1.123, allocations: 7.062 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.123, allocations: 47.58 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.123, allocations: 192 / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/1.123, allocations: 9.125 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.123, allocations: 1.125 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/1.123, allocations: 18.38 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/1.123, allocations: 170.7 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/1.123, allocations: 68.78 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/1.123, allocations: 29.02 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/1.124, allocations: 458.7 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/1.124, allocations: 37.28 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/1.124, allocations: 0 / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001208/1.125, allocations: 0.589 MB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/1.125, allocations: 56.47 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.438e-05/1.125, allocations: 99.94 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/1.125, allocations: 26.64 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/1.125, allocations: 80.92 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/1.125, allocations: 40.03 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/1.125, allocations: 23.88 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/1.125, allocations: 318.6 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/1.126, allocations: 26.55 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/1.126, allocations: 27.36 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/1.126, allocations: 59.78 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/1.126, allocations: 0.8438 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001655/1.126, allocations: 95.25 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.126, allocations: 6.312 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/1.126, allocations: 0.5625 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.126, allocations: 0.5312 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/1.126, allocations: 24.38 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/1.126, allocations: 1.641 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/1.126, allocations: 9.062 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/1.126, allocations: 3.172 kB / 1.092 GB, free: 2 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 (13): * Single equations (assignments): 13 * 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 6.058e-05/1.126, allocations: 117.1 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/1.126, allocations: 7.391 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/1.126, allocations: 110.2 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.126, allocations: 1.031 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.126, allocations: 0.9688 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.126, allocations: 0.7969 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/1.127, allocations: 356.8 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.127, allocations: 4.703 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.127, allocations: 23.48 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.127, allocations: 1.469 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.127, allocations: 5.469 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.127, allocations: 1.359 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.127, allocations: 0.8125 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/1.127, allocations: 220.1 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/1.127, allocations: 91.22 kB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/1.127, allocations: 5.719 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/1.127, allocations: 2.5 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/1.127, allocations: 6.203 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/1.127, allocations: 3.672 kB / 1.093 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.263e-05/1.127, allocations: 87.47 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.127, allocations: 0 / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002774/1.128, allocations: 42.75 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002652/1.128, allocations: 144.4 kB / 1.093 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001763/1.128, allocations: 71.84 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.128, allocations: 0.75 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.202e-05/1.128, allocations: 33.31 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/1.128, allocations: 6.781 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/1.129, allocations: 175.7 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.129, allocations: 0.69 MB / 1.094 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.99e-05/1.129, allocations: 15.7 kB / 1.094 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/1.129, allocations: 17.14 kB / 1.094 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.129, allocations: 0 / 1.094 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.004552/1.134, allocations: 1.416 MB / 1.096 GB, free: 15.98 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches