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.001852/0.001852, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002017/0.002017, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 73.67 kB / 0.8986 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, allocations: 157.4 MB / 1.052 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001632/0.3015, allocations: 0.6567 MB / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006255/0.3021, allocations: 362.7 kB / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.3022, allocations: 0 / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.3022, allocations: 0 / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.02e-05/0.3022, allocations: 0 / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.3026, allocations: 99.7 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.004e-05/0.3027, allocations: 8 kB / 1.053 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.3027, allocations: 7.984 kB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.3027, allocations: 0 / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.3028, allocations: 7.938 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3028, allocations: 0 / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.3032, allocations: 279.6 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.3032, allocations: 0 / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.475e-05/0.3032, allocations: 7.938 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.3034, allocations: 95.8 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3034, allocations: 0 / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3034, allocations: 0 / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.3034, allocations: 0 / 1.054 GB, free: 7.254 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.0003289/0.3037, allocations: 347.5 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3038, allocations: 8.031 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.3038, allocations: 4.938 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3039, allocations: 168.6 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.304, allocations: 384 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.304, allocations: 8.375 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.889e-05/0.3041, allocations: 34.25 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3041, allocations: 4.188 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3041, allocations: 3.938 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3041, allocations: 0 / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.3042, allocations: 3.938 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.3043, allocations: 157.6 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.3044, allocations: 22.61 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.3044, allocations: 12.92 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007159/0.3051, allocations: 457.5 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.3051, allocations: 34.56 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3052, allocations: 3.938 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004708/0.3056, allocations: 258.2 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.3057, allocations: 51.41 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.3057, allocations: 94.08 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3057, allocations: 29.83 kB / 1.055 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.3058, allocations: 88.12 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3058, allocations: 7.906 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3058, allocations: 17.72 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.3059, allocations: 314.8 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.306, allocations: 7.984 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.306, allocations: 17.72 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.648e-05/0.306, allocations: 25.72 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3061, allocations: 4 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.949e-05/0.3062, allocations: 57.53 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3062, allocations: 7.938 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3062, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3062, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.3063, allocations: 8 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3063, allocations: 0 / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.3063, allocations: 4.062 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3063, allocations: 4 kB / 1.056 GB, free: 4.66 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 6.143e-05/0.3064, allocations: 113.8 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.3064, allocations: 3.938 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.3066, allocations: 57.11 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3066, allocations: 7.938 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3066, allocations: 4 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3066, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.53e-05/0.3067, allocations: 153.7 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3067, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.3068, allocations: 7.984 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3068, allocations: 3.938 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3068, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3068, allocations: 4 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3068, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.3069, allocations: 81.06 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.307, allocations: 77.11 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.307, allocations: 7.875 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.416e-05/0.307, allocations: 8.016 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.3071, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3071, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.3071, allocations: 83.28 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3071, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002219/0.3073, allocations: 24 kB / 1.057 GB, free: 3.93 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.0001922/0.3075, allocations: 127.4 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.3076, allocations: 19.92 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3076, allocations: 4 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.3077, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.3078, allocations: 8 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.308, allocations: 117.4 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3082, allocations: 0.6808 MB / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.913e-05/0.3083, allocations: 0 / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.3083, allocations: 11.44 kB / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3083, allocations: 0 / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of Templates: time 0.002882/0.3112, allocations: 0.8759 MB / 1.058 GB, free: 2.031 MB / 0.8106 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