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.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.001364/0.001364, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001596/0.001596, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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 0.9499/0.9499, allocations: 177.1 MB / 204.5 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.002/2.002, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.764e-06/1.764e-06, allocations: 0 / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.828e-05, allocations: 3.375 kB / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001639/0.001657, allocations: 0.6468 MB / 0.8801 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006562/0.002314, allocations: 326.1 kB / 0.8804 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.002344, allocations: 0 / 0.8804 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.002359, allocations: 0 / 0.8804 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.002395, allocations: 3.938 kB / 0.8804 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.002848, allocations: 116.5 kB / 0.8805 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.002915, allocations: 23.92 kB / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.002951, allocations: 1.125 kB / 0.8805 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.003015, allocations: 19.97 kB / 0.8805 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.003066, allocations: 7.984 kB / 0.8806 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.003083, allocations: 1.594 kB / 0.8806 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.003449, allocations: 259.6 kB / 0.8808 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.003469, allocations: 15.91 kB / 0.8808 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.003489, allocations: 12 kB / 0.8808 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.003699, allocations: 129.3 kB / 0.8809 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003701, allocations: 3.938 kB / 0.881 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003702, allocations: 0 / 0.881 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003705, allocations: 0 / 0.881 GB, free: 4.453 MB / 0.8386 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.000366/0.004071, allocations: 395.2 kB / 0.8813 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.004105, allocations: 8.031 kB / 0.8813 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.004176, allocations: 8.891 kB / 0.8813 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.004263, allocations: 112.6 kB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.004277, allocations: 4.375 kB / 0.8815 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.004296, allocations: 4.375 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.004405, allocations: 97.66 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.004417, allocations: 192 / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.004427, allocations: 9.078 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004434, allocations: 4.312 kB / 0.8816 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.004466, allocations: 17.58 kB / 0.8816 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.004617, allocations: 117.2 kB / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.004717, allocations: 51.05 kB / 0.8817 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.004748, allocations: 21.17 kB / 0.8818 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.005168, allocations: 83.91 kB / 0.8818 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.0052, allocations: 41.39 kB / 0.8819 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.005201, allocations: 3.938 kB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0009915/0.006192, allocations: 428.6 kB / 0.8823 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.006226, allocations: 59.34 kB / 0.8824 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.006299, allocations: 157.9 kB / 0.8825 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.006314, allocations: 29.7 kB / 0.8825 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.006357, allocations: 130.9 kB / 0.8827 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.006402, allocations: 43.58 kB / 0.8827 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.006455, allocations: 35.34 kB / 0.8827 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.006566, allocations: 496.1 kB / 0.8832 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.006583, allocations: 11.98 kB / 0.8832 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.0066, allocations: 15.98 kB / 0.8832 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.006647, allocations: 43.61 kB / 0.8833 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.006648, allocations: 4 kB / 0.8833 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.42e-05/0.006742, allocations: 89.3 kB / 0.8834 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.006752, allocations: 7.938 kB / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.006756, allocations: 0 / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.006763, allocations: 0 / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.006825, allocations: 20 kB / 0.8834 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.006828, allocations: 3.938 kB / 0.8834 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.006842, allocations: 4 kB / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.006849, allocations: 7.984 kB / 0.8834 GB, free: 1.684 MB / 0.8386 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.448e-05/0.006914, allocations: 160.5 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.006933, allocations: 15.95 kB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.849e-05/0.007031, allocations: 85.84 kB / 0.8837 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.007033, allocations: 0 / 0.8837 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.007037, allocations: 7.938 kB / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.00704, allocations: 3.984 kB / 0.8837 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.007255, allocations: 317.9 kB / 0.884 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007257, allocations: 0 / 0.884 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.007317, allocations: 23.98 kB / 0.884 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007319, allocations: 0 / 0.884 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.007325, allocations: 4 kB / 0.884 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.007328, allocations: 11.94 kB / 0.884 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.007329, allocations: 192 / 0.884 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.007502, allocations: 243.8 kB / 0.8842 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.007524, allocations: 19.92 kB / 0.8843 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.007533, allocations: 0 / 0.8843 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.007573, allocations: 7.938 kB / 0.8843 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.007589, allocations: 7.984 kB / 0.8843 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.007596, allocations: 8 kB / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.007626, allocations: 123.2 kB / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007626, allocations: 0 / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001903/0.007816, allocations: 39.94 kB / 0.8844 GB, free: 0.5586 MB / 0.8386 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.000165/0.007981, allocations: 155.1 kB / 0.8846 GB, free: 404 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.008071, allocations: 47.61 kB / 0.8846 GB, free: 352 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.008072, allocations: 0 / 0.8846 GB, free: 352 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.963e-05/0.008101, allocations: 39.55 kB / 0.8847 GB, free: 308 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.008253, allocations: 11.98 kB / 0.8847 GB, free: 296 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.008497, allocations: 165.9 kB / 0.8848 GB, free: 100 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.742e-05/0.008534, allocations: 63.34 kB / 0.8849 GB, free: 16 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.00857, allocations: 8 kB / 0.8849 GB, free: 8 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.888e-05/0.008629, allocations: 82.19 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.00863, allocations: 4 kB / 0.885 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.003195/0.01182, allocations: 1.633 MB / 0.8866 GB, free: 14.31 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.249512786976993]