Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 496.2 MB / 0.7819 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 79.86 kB / 1.136 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8629, allocations: 173.7 MB / 1.305 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00246/0.8654, allocations: 0.6272 MB / 1.306 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.8664, allocations: 361.5 kB / 1.306 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.8665, allocations: 0 / 1.306 GB, free: 76 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.8665, allocations: 5.375 kB / 1.306 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.8665, allocations: 4 kB / 1.306 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006815/0.8672, allocations: 111.4 kB / 1.307 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.625e-05/0.8673, allocations: 26.45 kB / 1.307 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.8674, allocations: 3.219 kB / 1.307 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.585e-05/0.8674, allocations: 14.09 kB / 1.307 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.8675, allocations: 15.69 kB / 1.307 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.8675, allocations: 2 kB / 1.307 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000652/0.8682, allocations: 273.2 kB / 1.307 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.8682, allocations: 11.7 kB / 1.307 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.8682, allocations: 12.56 kB / 1.307 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.8685, allocations: 102.1 kB / 1.307 GB, free: 15.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.8685, allocations: 1.719 kB / 1.307 GB, free: 15.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8685, allocations: 0 / 1.307 GB, free: 15.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8685, allocations: 0 / 1.307 GB, free: 15.89 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.000601/0.8691, allocations: 365.1 kB / 1.307 GB, free: 15.51 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.8692, allocations: 9.25 kB / 1.307 GB, free: 15.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.8692, allocations: 8.578 kB / 1.307 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.8694, allocations: 167.5 kB / 1.308 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.8694, allocations: 1.844 kB / 1.308 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.8694, allocations: 15.69 kB / 1.308 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.8696, allocations: 46.09 kB / 1.308 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.8696, allocations: 1.438 kB / 1.308 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.8696, allocations: 3.938 kB / 1.308 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.8696, allocations: 1.188 kB / 1.308 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.8697, allocations: 19.09 kB / 1.308 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.87, allocations: 171.5 kB / 1.308 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.8701, allocations: 62.45 kB / 1.308 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.8702, allocations: 28 kB / 1.308 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009774/0.8712, allocations: 458.9 kB / 1.308 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.8712, allocations: 32.66 kB / 1.308 GB, free: 14.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 3.827e-06/0.8712, allocations: 3.984 kB / 1.308 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.001695/0.8729, allocations: 0.5955 MB / 1.309 GB, free: 13.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.873, allocations: 52.53 kB / 1.309 GB, free: 13.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.873, allocations: 95.39 kB / 1.309 GB, free: 13.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.8731, allocations: 30.8 kB / 1.309 GB, free: 13.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.8731, allocations: 81.83 kB / 1.309 GB, free: 13.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.8732, allocations: 47.3 kB / 1.309 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.8732, allocations: 27.83 kB / 1.309 GB, free: 13.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8734, allocations: 318.8 kB / 1.31 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.8735, allocations: 22.56 kB / 1.31 GB, free: 13.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.8735, allocations: 26.61 kB / 1.31 GB, free: 13.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.8737, allocations: 59.47 kB / 1.31 GB, free: 13.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.8737, allocations: 0 / 1.31 GB, free: 13.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002538/0.8739, allocations: 96.55 kB / 1.31 GB, free: 13.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8739, allocations: 9.531 kB / 1.31 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8739, allocations: 0.6094 kB / 1.31 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.8739, allocations: 1.094 kB / 1.31 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.8741, allocations: 20.42 kB / 1.31 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8741, allocations: 5.031 kB / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.8742, allocations: 9.125 kB / 1.31 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.8742, allocations: 3.406 kB / 1.31 GB, free: 13.18 MB / 1.014 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 0.000114/0.8743, allocations: 113.2 kB / 1.31 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.8743, allocations: 10.52 kB / 1.31 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.8746, allocations: 106.6 kB / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8746, allocations: 1.406 kB / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.8746, allocations: 0.7031 kB / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8746, allocations: 2.359 kB / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.8752, allocations: 359.5 kB / 1.31 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8752, allocations: 1.156 kB / 1.31 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.8754, allocations: 19.67 kB / 1.31 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.8754, allocations: 1.25 kB / 1.31 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.8754, allocations: 6.219 kB / 1.31 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.8754, allocations: 3.938 kB / 1.31 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8754, allocations: 4.781 kB / 1.31 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.8758, allocations: 223.5 kB / 1.311 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.8759, allocations: 87.84 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.8759, allocations: 1.969 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.876, allocations: 6.516 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.8761, allocations: 5.922 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.8761, allocations: 8.062 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.8761, allocations: 78.16 kB / 1.311 GB, free: 12.28 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.8761, allocations: 0 / 1.311 GB, free: 12.28 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000514/0.8767, allocations: 43.36 kB / 1.311 GB, free: 12.27 MB / 1.014 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.0003567/0.877, allocations: 152.2 kB / 1.311 GB, free: 12.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.8772, allocations: 58.61 kB / 1.311 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8772, allocations: 0 / 1.311 GB, free: 12.15 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.8773, allocations: 34.64 kB / 1.311 GB, free: 12.14 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.8777, allocations: 9.297 kB / 1.311 GB, free: 12.13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005112/0.8782, allocations: 190 kB / 1.311 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.8786, allocations: 0.6896 MB / 1.312 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.652e-05/0.8786, allocations: 16.48 kB / 1.312 GB, free: 11.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.8787, allocations: 12.94 kB / 1.312 GB, free: 11.27 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.8787, allocations: 3.938 kB / 1.312 GB, free: 11.27 MB / 1.014 GB Notification: Performance of Templates: time 0.005895/0.8846, allocations: 1.436 MB / 1.313 GB, free: 11.05 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.754122387617826]