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.0014/0.0014, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002328/0.003728, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001741/0.001741, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002032/0.003773, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 0.9639/0.9639, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09786/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.939/1.939, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4976/2.437, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.663e-06/1.663e-06, allocations: 0 / 0.7297 GB, free: 4.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.3e-05, allocations: 3.078 kB / 0.7297 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002163/0.002186, allocations: 0.6846 MB / 0.7304 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.002844, allocations: 347.3 kB / 0.7307 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.002866, allocations: 0 / 0.7307 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.024e-05/0.002876, allocations: 3.938 kB / 0.7307 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.213e-05/0.002889, allocations: 0.9844 kB / 0.7307 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.003254, allocations: 88.78 kB / 0.7308 GB, free: 3.262 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.003331, allocations: 24.45 kB / 0.7308 GB, free: 3.242 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.003372, allocations: 7.938 kB / 0.7308 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.068e-05/0.003452, allocations: 21.39 kB / 0.7309 GB, free: 3.215 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.003523, allocations: 15.03 kB / 0.7309 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.003542, allocations: 0 / 0.7309 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.004005, allocations: 284.3 kB / 0.7311 GB, free: 2.926 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.004025, allocations: 5.312 kB / 0.7311 GB, free: 2.922 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.004046, allocations: 4.875 kB / 0.7312 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.004268, allocations: 95.03 kB / 0.7312 GB, free: 2.828 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.004282, allocations: 0 / 0.7312 GB, free: 2.828 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004283, allocations: 0.5 kB / 0.7312 GB, free: 2.828 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.004298, allocations: 1.531 kB / 0.7312 GB, free: 2.828 MB / 0.698 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.000474/0.004772, allocations: 277 kB / 0.7315 GB, free: 2.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.004815, allocations: 9.156 kB / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.004925, allocations: 86.05 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.005035, allocations: 113.7 kB / 0.7317 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.005051, allocations: 5.156 kB / 0.7317 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.005083, allocations: 12.36 kB / 0.7317 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.005213, allocations: 90.44 kB / 0.7318 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.005225, allocations: 192 / 0.7318 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.005236, allocations: 5 kB / 0.7318 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.005242, allocations: 384 / 0.7318 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.005281, allocations: 17.81 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.005409, allocations: 64.98 kB / 0.7319 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.005522, allocations: 59.25 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.00555, allocations: 18.25 kB / 0.732 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/0.005949, allocations: 78.53 kB / 0.732 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.005977, allocations: 34.72 kB / 0.7321 GB, free: 1.863 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.005979, allocations: 0.7656 kB / 0.7321 GB, free: 1.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001299/0.007278, allocations: 442.3 kB / 0.7325 GB, free: 1.383 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.007309, allocations: 57.16 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.113e-05/0.00738, allocations: 114.6 kB / 0.7327 GB, free: 1.191 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.007395, allocations: 26.69 kB / 0.7327 GB, free: 1.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.00742, allocations: 84.14 kB / 0.7328 GB, free: 1.074 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.007465, allocations: 43.61 kB / 0.7328 GB, free: 1.031 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.00751, allocations: 26.92 kB / 0.7328 GB, free: 1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.007602, allocations: 318.8 kB / 0.7331 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.007626, allocations: 8 kB / 0.7331 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.007649, allocations: 13.34 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.168e-05/0.00771, allocations: 45.17 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.007712, allocations: 0 / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001147/0.007826, allocations: 69.61 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.007842, allocations: 5.25 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007847, allocations: 0 / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.00786, allocations: 0 / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.007956, allocations: 29.23 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.007963, allocations: 8.594 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.887e-05/0.007982, allocations: 0 / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.007988, allocations: 0 / 0.7333 GB, free: 0.5039 MB / 0.698 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 6.916e-05/0.008057, allocations: 114.9 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.008088, allocations: 11.92 kB / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.008229, allocations: 80.06 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.008231, allocations: 5.25 kB / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.008233, allocations: 0 / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.008239, allocations: 7.922 kB / 0.7335 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.008505, allocations: 226.7 kB / 0.7337 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.008509, allocations: 8.672 kB / 0.7337 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.008612, allocations: 21.22 kB / 0.7338 GB, free: 0 / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.008652, allocations: 7.984 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.008655, allocations: 0 / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.008665, allocations: 7.938 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.008668, allocations: 4.75 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008669, allocations: 0 / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.008864, allocations: 188.4 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.008881, allocations: 5.688 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.008943, allocations: 0 / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.008965, allocations: 15.92 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.008973, allocations: 4 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.51e-05/0.008988, allocations: 8.844 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.008988, allocations: 0.75 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002608/0.009249, allocations: 39.94 kB / 0.734 GB, free: 15.71 MB / 0.7136 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.0002407/0.00949, allocations: 137.5 kB / 0.7342 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.009598, allocations: 44.78 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.009606, allocations: 3.156 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/0.009654, allocations: 40.77 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.009816, allocations: 15.98 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.01014, allocations: 148.5 kB / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01018, allocations: 64.28 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.01023, allocations: 7.031 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.0103, allocations: 63.36 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.0103, allocations: 4 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.003905/0.0142, allocations: 1.382 MB / 0.7359 GB, free: 13.84 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.974785343743861]