Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001812/0.001812, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002207/0.002207, allocations: 161 kB / 23.01 MB, free: 4.602 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] 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.842/2.842, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.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_latest_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_latest_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.002217/0.002217, allocations: 63.89 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8116, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001515/0.8132, allocations: 0.6074 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.8135, allocations: 73.33 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.8135, allocations: 0 / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.8135, allocations: 6.5 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.8136, allocations: 6.562 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.8139, allocations: 47.53 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.966e-05/0.8139, allocations: 22.05 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.814, allocations: 2.719 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.814, allocations: 13.44 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.8142, allocations: 76.91 kB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.8142, allocations: 3.938 kB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.8143, allocations: 41.73 kB / 1.188 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.8143, allocations: 18.05 kB / 1.188 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.8144, allocations: 19.08 kB / 1.188 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.8145, allocations: 70.8 kB / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8145, allocations: 1.469 kB / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8145, allocations: 0 / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.8145, allocations: 0 / 1.188 GB, free: 15.66 MB / 1.076 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.0002623/0.8148, allocations: 281.4 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.8148, allocations: 9.625 kB / 1.188 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.8148, allocations: 13.67 kB / 1.188 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.802e-05/0.8149, allocations: 108.5 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.8149, allocations: 5.734 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.8149, allocations: 3.125 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.8151, allocations: 441.5 kB / 1.188 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8151, allocations: 7.922 kB / 1.188 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.8152, allocations: 6.75 kB / 1.188 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.8152, allocations: 24.27 kB / 1.188 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/0.8153, allocations: 36.3 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.8157, allocations: 0.8436 MB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.908e-05/0.8157, allocations: 178.1 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.8158, allocations: 81.27 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.8158, allocations: 77.12 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.8158, allocations: 111.8 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.8158, allocations: 0.8125 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.651e-05/0.8159, allocations: 39.89 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.8159, allocations: 391.2 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.816, allocations: 177.2 kB / 1.19 GB, free: 12.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.816, allocations: 27.02 kB / 1.19 GB, free: 12.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.8161, allocations: 154.9 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-06/0.8161, allocations: 2.969 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.8162, allocations: 60.59 kB / 1.191 GB, free: 12.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.8162, allocations: 320.7 kB / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.8162, allocations: 26.05 kB / 1.191 GB, free: 12.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.8164, allocations: 479.6 kB / 1.191 GB, free: 11.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.8165, allocations: 202.1 kB / 1.192 GB, free: 11.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8165, allocations: 2.094 kB / 1.192 GB, free: 11.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002672/0.8168, allocations: 191.7 kB / 1.192 GB, free: 11.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8168, allocations: 8.281 kB / 1.192 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.8168, allocations: 3.875 kB / 1.192 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8168, allocations: 6.438 kB / 1.192 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.8169, allocations: 42.81 kB / 1.192 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.817, allocations: 11.62 kB / 1.192 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.817, allocations: 35.38 kB / 1.192 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.8171, allocations: 12.97 kB / 1.192 GB, free: 11.48 MB / 1.076 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.318e-05/0.8171, allocations: 208 kB / 1.192 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.8172, allocations: 115.8 kB / 1.192 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.8172, allocations: 115 kB / 1.192 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.8172, allocations: 183.5 kB / 1.192 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/0.8172, allocations: 182.2 kB / 1.193 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.8173, allocations: 178 kB / 1.193 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.8174, allocations: 382.4 kB / 1.193 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.8174, allocations: 102.8 kB / 1.193 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.8174, allocations: 106.8 kB / 1.193 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.8174, allocations: 178 kB / 1.194 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.8174, allocations: 182 kB / 1.194 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.057e-05/0.8175, allocations: 182.6 kB / 1.194 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.949e-05/0.8175, allocations: 183.5 kB / 1.194 GB, free: 9.168 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.462e-05/0.8175, allocations: 319.9 kB / 1.194 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.8176, allocations: 112.2 kB / 1.194 GB, free: 8.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.8176, allocations: 181.2 kB / 1.195 GB, free: 8.551 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.8177, allocations: 104.1 kB / 1.195 GB, free: 8.445 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.8177, allocations: 191.3 kB / 1.195 GB, free: 8.254 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.8177, allocations: 103 kB / 1.195 GB, free: 8.148 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.8178, allocations: 115.8 kB / 1.195 GB, free: 8.066 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8178, allocations: 0 / 1.195 GB, free: 8.066 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003084/0.8181, allocations: 31.44 kB / 1.195 GB, free: 8.059 MB / 1.076 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.0001159/0.8182, allocations: 182.4 kB / 1.195 GB, free: 7.895 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.8183, allocations: 76.34 kB / 1.195 GB, free: 7.867 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8183, allocations: 2.5 kB / 1.195 GB, free: 7.867 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.8183, allocations: 0.9062 kB / 1.195 GB, free: 7.867 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.8186, allocations: 471.3 kB / 1.196 GB, free: 7.414 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.8188, allocations: 238.2 kB / 1.196 GB, free: 7.207 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.643e-05/0.8189, allocations: 76.36 kB / 1.196 GB, free: 7.137 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.819, allocations: 60.41 kB / 1.196 GB, free: 7.117 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.819, allocations: 13.84 kB / 1.196 GB, free: 7.109 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.819, allocations: 1.031 kB / 1.196 GB, free: 7.109 MB / 1.076 GB Notification: Performance of Templates: time 0.004701/0.8237, allocations: 1.811 MB / 1.198 GB, free: 6.867 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.63152996392455]