Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_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_11_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.008681/0.008681, allocations: 98.36 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.001924/0.001924, allocations: 193.2 kB / 16.67 MB, free: 5.949 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.796/2.796, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.12 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3512, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001699/0.3529, allocations: 0.6302 MB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.3536, allocations: 348.6 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.3537, allocations: 0 / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.3537, allocations: 0 / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.3537, allocations: 3.938 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.3542, allocations: 123.5 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.3543, allocations: 23.98 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.3543, allocations: 4 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.3544, allocations: 11.92 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.3544, allocations: 15.92 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.3544, allocations: 0 / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.3549, allocations: 275.6 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.3549, allocations: 4 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.3549, allocations: 15.92 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.3551, allocations: 107.6 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3551, allocations: 4 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3551, allocations: 0 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3551, allocations: 0 / 1.222 GB, free: 12.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004847/0.3556, allocations: 363.1 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3556, allocations: 12.03 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.3557, allocations: 4.891 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3558, allocations: 172.3 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3558, allocations: 384 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3559, allocations: 8.375 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.356, allocations: 54.23 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.356, allocations: 192 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.356, allocations: 7.938 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.356, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.3561, allocations: 23.92 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.3563, allocations: 165.6 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3564, allocations: 54.56 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.3564, allocations: 28.84 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007023/0.3571, allocations: 461.5 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3572, allocations: 38.56 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3572, allocations: 4 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001338/0.3585, allocations: 0.5953 MB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3585, allocations: 51.41 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.3586, allocations: 97.86 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3586, allocations: 29.7 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.3587, allocations: 96.06 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.3587, allocations: 39.66 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.3588, allocations: 25.7 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3589, allocations: 314.8 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.3589, allocations: 27.98 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.359, allocations: 23.98 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.063e-05/0.3591, allocations: 52.86 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3591, allocations: 4 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001707/0.3592, allocations: 101.5 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3592, allocations: 8 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3592, allocations: 0 / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3593, allocations: 0 / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3594, allocations: 20 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3594, allocations: 0 / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.3594, allocations: 7.984 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3594, allocations: 0 / 1.225 GB, free: 8.988 MB / 0.9825 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 7.66e-05/0.3595, allocations: 122.3 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3595, allocations: 7.938 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.3597, allocations: 105.6 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3597, allocations: 4 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3597, allocations: 0 / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3597, allocations: 3.984 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.3601, allocations: 358.4 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3601, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3602, allocations: 16 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3602, allocations: 4.094 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3602, allocations: 15.92 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3602, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3602, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3605, allocations: 219.4 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.3605, allocations: 93.02 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3606, allocations: 8 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.3606, allocations: 0 / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.3607, allocations: 12.05 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3607, allocations: 8 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.3607, allocations: 75.28 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3607, allocations: 0 / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002752/0.361, allocations: 47.92 kB / 1.226 GB, free: 7.801 MB / 0.9825 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.0002574/0.3612, allocations: 135.1 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.3614, allocations: 67.84 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3614, allocations: 0 / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.3614, allocations: 32 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.3617, allocations: 11.53 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.362, allocations: 185.6 kB / 1.226 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3623, allocations: 0.6846 MB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.198e-05/0.3623, allocations: 20.28 kB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.3624, allocations: 11.44 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3624, allocations: 0 / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of Templates: time 0.003842/0.3662, allocations: 1.416 MB / 1.228 GB, free: 5.199 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches