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.001497/0.001497, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001738/0.001738, allocations: 210.9 kB / 22.24 MB, free: 5.258 MB / 14.72 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.217/3.217, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",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.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 71.94 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3759, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001996/0.3778, allocations: 0.6203 MB / 1.326 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003593/0.3782, allocations: 71.78 kB / 1.326 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.3782, allocations: 0 / 1.326 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.3783, allocations: 0 / 1.326 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.938e-05/0.3783, allocations: 11.92 kB / 1.326 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.3787, allocations: 39.95 kB / 1.326 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.3787, allocations: 27.91 kB / 1.326 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.3788, allocations: 8.344 kB / 1.326 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.3788, allocations: 15.98 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.3791, allocations: 63.94 kB / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3791, allocations: 0 / 1.326 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3792, allocations: 47.94 kB / 1.326 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.3792, allocations: 23.91 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.3793, allocations: 11.88 kB / 1.326 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.3794, allocations: 71.72 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3794, allocations: 0 / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3794, allocations: 0 / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3794, allocations: 4 kB / 1.327 GB, free: 0.8359 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004044/0.3798, allocations: 298.1 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3799, allocations: 8.031 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.3799, allocations: 8.891 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.751e-05/0.38, allocations: 110.5 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.38, allocations: 4.375 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.38, allocations: 384 / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.3806, allocations: 446.1 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3806, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3806, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.033e-05/0.3807, allocations: 19.98 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.3807, allocations: 43.91 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008264/0.3816, allocations: 0.8552 MB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3817, allocations: 177 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.3817, allocations: 84.14 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.279e-05/0.3818, allocations: 75.28 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.233e-05/0.3818, allocations: 109.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.3818, allocations: 4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.521e-05/0.3819, allocations: 29.7 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002348/0.3822, allocations: 387.7 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.3824, allocations: 175.6 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3824, allocations: 37.58 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3825, allocations: 155.5 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-06/0.3825, allocations: 4 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.3826, allocations: 53.66 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002627/0.3828, allocations: 322.8 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.3829, allocations: 27.97 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.3833, allocations: 476.1 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.3836, allocations: 201.8 kB / 1.33 GB, free: 12.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3836, allocations: 0 / 1.33 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003495/0.384, allocations: 193.4 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.384, allocations: 8 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.384, allocations: 4 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.384, allocations: 4 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.3842, allocations: 39.92 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.3842, allocations: 19.86 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3843, allocations: 23.84 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3843, allocations: 12.41 kB / 1.331 GB, free: 11.94 MB / 1.029 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 0.0001598/0.3845, allocations: 221 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.3846, allocations: 112.9 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-05/0.3846, allocations: 112.7 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.189e-05/0.3847, allocations: 188.3 kB / 1.331 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.302e-05/0.3848, allocations: 188.1 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.789e-05/0.3849, allocations: 176.3 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.3852, allocations: 364.9 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.244e-05/0.3852, allocations: 112.9 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.3853, allocations: 105 kB / 1.332 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-05/0.3854, allocations: 180.2 kB / 1.332 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.143e-05/0.3854, allocations: 180.3 kB / 1.333 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.883e-05/0.3855, allocations: 180.3 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-05/0.3856, allocations: 180.2 kB / 1.333 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3858, allocations: 323.6 kB / 1.333 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.3859, allocations: 104.9 kB / 1.333 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.3861, allocations: 184.3 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3862, allocations: 113 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.3863, allocations: 192.4 kB / 1.334 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.3863, allocations: 108.9 kB / 1.334 GB, free: 8.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001235/0.3865, allocations: 116.9 kB / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3865, allocations: 4 kB / 1.334 GB, free: 8.371 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003388/0.3868, allocations: 28 kB / 1.334 GB, free: 8.344 MB / 1.029 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.0002278/0.387, allocations: 194.4 kB / 1.334 GB, free: 8.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.3872, allocations: 68.84 kB / 1.334 GB, free: 8.078 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3872, allocations: 0 / 1.334 GB, free: 8.078 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-06/0.3872, allocations: 4.281 kB / 1.334 GB, free: 8.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3877, allocations: 472.8 kB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.388, allocations: 236.4 kB / 1.335 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.744e-05/0.3881, allocations: 71.98 kB / 1.335 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.3883, allocations: 56.59 kB / 1.335 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.3883, allocations: 15.44 kB / 1.335 GB, free: 7.184 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3883, allocations: 0 / 1.335 GB, free: 7.184 MB / 1.029 GB Notification: Performance of Templates: time 0.005213/0.3935, allocations: 1.826 MB / 1.337 GB, free: 5.43 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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.989605255424976]