Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 107.6 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 216.2 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 9.148 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.26/3.26, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 71.86 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3331, allocations: 176.1 MB / 1.321 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001982/0.3351, allocations: 0.624 MB / 1.322 GB, free: 2.156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008083/0.3359, allocations: 363.1 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.3359, allocations: 0 / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.336, allocations: 3.938 kB / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.731e-05/0.336, allocations: 0 / 1.322 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.3365, allocations: 113.6 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.3366, allocations: 27.91 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.3366, allocations: 3.984 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.3367, allocations: 16 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.863e-05/0.3367, allocations: 15.92 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3367, allocations: 0 / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004401/0.3372, allocations: 275.7 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.3372, allocations: 11.97 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.3372, allocations: 15.88 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.3374, allocations: 99.7 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3375, allocations: 3.938 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3375, allocations: 0 / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.3375, allocations: 0 / 1.323 GB, free: 1.227 MB / 1.014 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.0005917/0.3381, allocations: 367.1 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3381, allocations: 15.98 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.3382, allocations: 0.9375 kB / 1.323 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3384, allocations: 172.3 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3384, allocations: 4.312 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.3384, allocations: 8.375 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3386, allocations: 46.25 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3386, allocations: 192 / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.3386, allocations: 3.938 kB / 1.323 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3386, allocations: 4 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.467e-05/0.3387, allocations: 23.97 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.3389, allocations: 161.7 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.339, allocations: 62.48 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.339, allocations: 28.8 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007739/0.3398, allocations: 461.5 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3398, allocations: 30.56 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.3398, allocations: 0 / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.00146/0.3413, allocations: 0.5996 MB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3413, allocations: 51.41 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.3414, allocations: 97.84 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.3415, allocations: 33.7 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.3415, allocations: 80.14 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.3416, allocations: 39.67 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.3416, allocations: 29.72 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3418, allocations: 318.9 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/0.3418, allocations: 23.94 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.65e-05/0.3419, allocations: 27.98 kB / 1.325 GB, free: 14.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.342, allocations: 60.03 kB / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.342, allocations: 0 / 1.325 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001835/0.3422, allocations: 101.6 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3422, allocations: 8 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3422, allocations: 7.938 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3422, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3423, allocations: 23.92 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3423, allocations: 4 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.3424, allocations: 4 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3424, allocations: 0 / 1.326 GB, free: 13.97 MB / 1.029 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 9.05e-05/0.3425, allocations: 113.8 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.3425, allocations: 11.89 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.3427, allocations: 105.7 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3427, allocations: 8 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3427, allocations: 3.938 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3427, allocations: 0 / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.3431, allocations: 350.5 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3431, allocations: 0 / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3433, allocations: 19.98 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3433, allocations: 0 / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3433, allocations: 11.94 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3433, allocations: 0 / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3433, allocations: 0 / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.3436, allocations: 223.4 kB / 1.326 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.3436, allocations: 85.05 kB / 1.326 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.3436, allocations: 4 kB / 1.326 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.3437, allocations: 7.984 kB / 1.326 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.3438, allocations: 4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-06/0.3438, allocations: 4 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.3438, allocations: 83.27 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3438, allocations: 8 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002818/0.3441, allocations: 43.88 kB / 1.327 GB, free: 12.79 MB / 1.029 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.0002659/0.3444, allocations: 143.1 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.3446, allocations: 59.91 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3446, allocations: 0 / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.3446, allocations: 35.86 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.3448, allocations: 10.34 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.3453, allocations: 181.8 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3456, allocations: 0.6932 MB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.295e-05/0.3457, allocations: 12.27 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.3457, allocations: 11.44 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3457, allocations: 0 / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of Templates: time 0.004713/0.3504, allocations: 1.425 MB / 1.329 GB, free: 10.18 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.81589640211314]