Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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.0009975/0.0009975, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001101/0.001101, allocations: 161 kB / 24.17 MB, free: 332 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 1.067/1.067, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.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.948/1.948, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 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.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.493e-05, allocations: 7.031 kB / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001175/0.001189, allocations: 0.6767 MB / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002808/0.00147, allocations: 72.44 kB / 0.7608 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.001492, allocations: 1.25 kB / 0.7608 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.001526, allocations: 3.984 kB / 0.7609 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.325e-05/0.001569, allocations: 6.672 kB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.001819, allocations: 43.88 kB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.016e-05/0.001879, allocations: 23.38 kB / 0.7609 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.001913, allocations: 0.5625 kB / 0.7609 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.001952, allocations: 29.03 kB / 0.761 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.002103, allocations: 69.95 kB / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.002114, allocations: 0 / 0.761 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.002217, allocations: 53.36 kB / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.002247, allocations: 18.72 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.002265, allocations: 10.3 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.002371, allocations: 75.28 kB / 0.7612 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002373, allocations: 0.6562 kB / 0.7612 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.22e-07/0.002373, allocations: 4 kB / 0.7612 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.816e-06/0.002376, allocations: 4.688 kB / 0.7612 GB, free: 5.48 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002209/0.002597, allocations: 256.8 kB / 0.7614 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.00263, allocations: 8.781 kB / 0.7614 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.002656, allocations: 10.12 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.63e-05/0.002712, allocations: 114.5 kB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.002721, allocations: 384 / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.002731, allocations: 10.56 kB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.002933, allocations: 371.7 kB / 0.7619 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.002941, allocations: 192 / 0.7619 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.002951, allocations: 8.125 kB / 0.7619 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.002993, allocations: 23.92 kB / 0.7619 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.003022, allocations: 27.91 kB / 0.762 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.003428, allocations: 0.7927 MB / 0.7627 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.832e-05/0.003487, allocations: 165.1 kB / 0.7629 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.003509, allocations: 89 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.003526, allocations: 77.09 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.003565, allocations: 113.8 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.003566, allocations: 4 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.994e-05/0.003626, allocations: 41.56 kB / 0.7632 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.003736, allocations: 383.7 kB / 0.7636 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.00383, allocations: 167.6 kB / 0.7637 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.003842, allocations: 29.7 kB / 0.7638 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.003906, allocations: 156.1 kB / 0.7639 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.003909, allocations: 3.984 kB / 0.7639 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.003958, allocations: 57.67 kB / 0.764 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.004027, allocations: 318.8 kB / 0.7643 GB, free: 2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.004038, allocations: 11.98 kB / 0.7643 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.004204, allocations: 463.5 kB / 0.7647 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.00432, allocations: 188.3 kB / 0.7649 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004322, allocations: 2.875 kB / 0.7649 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000146/0.004468, allocations: 148.3 kB / 0.7651 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.004481, allocations: 8 kB / 0.7651 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.004487, allocations: 4 kB / 0.7651 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.004501, allocations: 8 kB / 0.7651 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.004584, allocations: 39.92 kB / 0.7651 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.00459, allocations: 8.875 kB / 0.7651 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.004646, allocations: 27.84 kB / 0.7651 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.004654, allocations: 9.672 kB / 0.7652 GB, free: 0.8867 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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 7.871e-05/0.004733, allocations: 215.8 kB / 0.7654 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.004774, allocations: 114 kB / 0.7655 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.004815, allocations: 116.7 kB / 0.7656 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-05/0.004852, allocations: 178.7 kB / 0.7658 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.718e-05/0.00491, allocations: 184.2 kB / 0.7659 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-05/0.004959, allocations: 180.3 kB / 0.7661 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.005093, allocations: 338.2 kB / 0.7664 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.005117, allocations: 104.9 kB / 0.7665 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.005142, allocations: 105 kB / 0.7666 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-05/0.00518, allocations: 184.2 kB / 0.7668 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/0.005434, allocations: 178.9 kB / 0.767 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.317e-05/0.005477, allocations: 180.3 kB / 0.7671 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.362e-05/0.005521, allocations: 180.2 kB / 0.7673 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.358e-05/0.005615, allocations: 315.7 kB / 0.7676 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.005652, allocations: 113.6 kB / 0.7677 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.005704, allocations: 180.3 kB / 0.7679 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.005759, allocations: 112.9 kB / 0.768 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.005803, allocations: 177.8 kB / 0.7682 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.005828, allocations: 104.9 kB / 0.7683 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.001e-05/0.005858, allocations: 34.5 kB / 0.7683 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.005858, allocations: 1.094 kB / 0.7683 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001963/0.006055, allocations: 29.28 kB / 0.7683 GB, free: 13.46 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001204/0.006175, allocations: 163.7 kB / 0.7685 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.362e-05/0.006269, allocations: 68.62 kB / 0.7686 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.006275, allocations: 4 kB / 0.7686 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.006276, allocations: 0 / 0.7686 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.006477, allocations: 479.4 kB / 0.769 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.006671, allocations: 219.1 kB / 0.7692 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.006707, allocations: 67.98 kB / 0.7693 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.768e-05/0.006774, allocations: 33.89 kB / 0.7693 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.006904, allocations: 108.9 kB / 0.7694 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of SimCode: time 7.52e-07/0.006905, allocations: 0 / 0.7694 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.003175/0.01008, allocations: 1.843 MB / 0.7712 GB, free: 10.6 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.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.047167358919978]