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.001024/0.001024, allocations: 91.38 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.008445/0.008445, allocations: 172.5 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.981/2.981, allocations: 462.6 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 11.97 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007908/0.3382, allocations: 342.8 kB / 1.059 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007066/0.3389, allocations: 366.8 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.339, allocations: 4 kB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.339, allocations: 0 / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.409e-05/0.339, allocations: 0 / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.3394, allocations: 75.83 kB / 1.059 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.3395, allocations: 15.92 kB / 1.059 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.3395, allocations: 4 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.3395, allocations: 4 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.26e-05/0.3396, allocations: 7.922 kB / 1.059 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3396, allocations: 4 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.34, allocations: 275.6 kB / 1.06 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.34, allocations: 4 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.3401, allocations: 25.7 kB / 1.06 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.3403, allocations: 95.77 kB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3403, allocations: 0 / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3403, allocations: 0 / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3403, allocations: 8 kB / 1.06 GB, free: 4.266 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.0003921/0.3407, allocations: 340.5 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3407, allocations: 8.031 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.3408, allocations: 4.875 kB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3409, allocations: 164.4 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.341, allocations: 384 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.341, allocations: 384 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.992e-05/0.3411, allocations: 38.25 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3411, allocations: 8.125 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3411, allocations: 7.938 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3411, allocations: 0 / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.3412, allocations: 0 / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3413, allocations: 154 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.3414, allocations: 18.61 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.3414, allocations: 8.922 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/0.3421, allocations: 465.5 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3422, allocations: 34.56 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.545e-06/0.3422, allocations: 0 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005032/0.3427, allocations: 270.1 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3427, allocations: 51.41 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.3428, allocations: 97.84 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3428, allocations: 25.7 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.3429, allocations: 80.14 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3429, allocations: 12.25 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.3429, allocations: 13.72 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.343, allocations: 310.8 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.3431, allocations: 11.98 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.3431, allocations: 13.72 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.495e-05/0.3431, allocations: 25.72 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3431, allocations: 0 / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.118e-05/0.3432, allocations: 61.53 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3433, allocations: 7.938 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3433, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.3433, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.3434, allocations: 12 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3434, allocations: 0 / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.3434, allocations: 3.938 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3434, allocations: 7.984 kB / 1.062 GB, free: 1.684 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.953e-05/0.3435, allocations: 111.4 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.3435, allocations: 7.938 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.3436, allocations: 57.12 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3437, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3437, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3437, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.3438, allocations: 149.9 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3438, allocations: 0 / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.3438, allocations: 15.98 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3439, allocations: 11.92 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3439, allocations: 4 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3439, allocations: 3.938 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3439, allocations: 0 / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.344, allocations: 69.12 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.3441, allocations: 81.11 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3441, allocations: 3.938 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.3441, allocations: 12.02 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.3442, allocations: 4 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3442, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.3442, allocations: 79.28 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3442, allocations: 0 / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002026/0.3444, allocations: 24 kB / 1.063 GB, free: 0.9609 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.0002059/0.3446, allocations: 131.2 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.686e-05/0.3447, allocations: 16.08 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3447, allocations: 8.062 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.3447, allocations: 8 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.3449, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.3451, allocations: 116.6 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3454, allocations: 0.677 MB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.3454, allocations: 8 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.3454, allocations: 11.44 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3454, allocations: 3.938 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of Templates: time 0.003149/0.3486, allocations: 0.8564 MB / 1.064 GB, free: 15.07 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