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.001926/0.001926, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002406/0.002406, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.892/2.892, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8109 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.931e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002047/0.002077, allocations: 0.6205 MB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.002857, allocations: 319.4 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.002882, allocations: 0.6875 kB / 0.8118 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.002898, allocations: 3.938 kB / 0.8118 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.002938, allocations: 4.844 kB / 0.8118 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.003478, allocations: 117 kB / 0.8119 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.986e-05/0.003548, allocations: 19.98 kB / 0.8119 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.003585, allocations: 13.14 kB / 0.8119 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.469e-05/0.003649, allocations: 23.84 kB / 0.812 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.003701, allocations: 8 kB / 0.812 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003718, allocations: 0 / 0.812 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.004159, allocations: 257.1 kB / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.004182, allocations: 11.98 kB / 0.8122 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.00421, allocations: 3.938 kB / 0.8122 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.004462, allocations: 131.6 kB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004464, allocations: 1.531 kB / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004465, allocations: 0 / 0.8124 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.004471, allocations: 4 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 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.0004701/0.004941, allocations: 279.5 kB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.004981, allocations: 12.03 kB / 0.8126 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.005084, allocations: 12.89 kB / 0.8126 GB, free: 188 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.005207, allocations: 109.7 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.005224, allocations: 8.969 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.005253, allocations: 5.5 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.005435, allocations: 101.7 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.005447, allocations: 4.125 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.005461, allocations: 4.891 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.005466, allocations: 384 / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.72e-05/0.005523, allocations: 20.66 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.005709, allocations: 117.2 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.005833, allocations: 59.88 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.005888, allocations: 28.84 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/0.006477, allocations: 75.11 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.006523, allocations: 38.55 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.006524, allocations: 1.281 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.001404/0.007928, allocations: 457.7 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.007984, allocations: 51.41 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.008075, allocations: 97.84 kB / 0.8138 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.008106, allocations: 29.7 kB / 0.8138 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.008157, allocations: 82.45 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.008208, allocations: 47.58 kB / 0.8139 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.008271, allocations: 29.72 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.00845, allocations: 318.8 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.0085, allocations: 19.98 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.008552, allocations: 27.38 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.008663, allocations: 56.28 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.008664, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001912/0.008855, allocations: 97.64 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.008869, allocations: 4 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008874, allocations: 0 / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/0.008906, allocations: 7.938 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.009018, allocations: 23.92 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.009023, allocations: 0 / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.009051, allocations: 4 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.009057, allocations: 4 kB / 0.8145 GB, free: 14.11 MB / 0.7761 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.697e-05/0.009154, allocations: 114.6 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.009193, allocations: 8.5 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.00942, allocations: 118.2 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.009425, allocations: 3.938 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.009431, allocations: 4.562 kB / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.009434, allocations: 1.344 kB / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.009867, allocations: 294.2 kB / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.009869, allocations: 0 / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.00999, allocations: 19.94 kB / 0.815 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.009996, allocations: 4.531 kB / 0.815 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.01001, allocations: 12.61 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01002, allocations: 0 / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01002, allocations: 1.969 kB / 0.8151 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.01034, allocations: 219.8 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.01037, allocations: 7.984 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.01039, allocations: 7.938 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-05/0.01047, allocations: 0 / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.0105, allocations: 8.797 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.01051, allocations: 4 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.01056, allocations: 92.08 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01056, allocations: 4 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003075/0.01087, allocations: 43.88 kB / 0.8154 GB, free: 13.1 MB / 0.7761 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.0002714/0.01114, allocations: 140.5 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.0113, allocations: 60.02 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0113, allocations: 4.906 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/0.01136, allocations: 31.98 kB / 0.8156 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01159, allocations: 12.86 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.01199, allocations: 176.2 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.752e-05/0.01207, allocations: 75.2 kB / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.819e-05/0.01212, allocations: 8 kB / 0.8159 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.01215, allocations: 12.5 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.01215, allocations: 3.938 kB / 0.8159 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.004506/0.01666, allocations: 1.426 MB / 0.8173 GB, free: 11.15 MB / 0.7761 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: 7.790299076004885]