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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 489.7 MB / 0.7761 GB, free: 2.414 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 1.127 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9246/0.9267, allocations: 172 MB / 1.295 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001708/0.9284, allocations: 0.6172 MB / 1.296 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003152/0.9287, allocations: 67.97 kB / 1.296 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.9287, allocations: 0 / 1.296 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.9288, allocations: 7.125 kB / 1.296 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.9288, allocations: 4.094 kB / 1.296 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.9291, allocations: 48.64 kB / 1.296 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.06e-05/0.9292, allocations: 25.67 kB / 1.296 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.9292, allocations: 6.156 kB / 1.296 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.9292, allocations: 9.953 kB / 1.296 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.9295, allocations: 71.56 kB / 1.296 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.9295, allocations: 1.062 kB / 1.296 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.9296, allocations: 45.89 kB / 1.296 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.9296, allocations: 14.88 kB / 1.296 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.9297, allocations: 18.89 kB / 1.296 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.9298, allocations: 71.84 kB / 1.296 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.9298, allocations: 0 / 1.296 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9298, allocations: 0 / 1.296 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.9298, allocations: 0 / 1.296 GB, free: 5.16 MB / 0.9981 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.0003994/0.9302, allocations: 368.7 kB / 1.296 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.9302, allocations: 9.594 kB / 1.296 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.9303, allocations: 14.12 kB / 1.296 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.9304, allocations: 166.4 kB / 1.296 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.9304, allocations: 5.391 kB / 1.296 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.9304, allocations: 6.781 kB / 1.296 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.9307, allocations: 178.5 kB / 1.297 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.9307, allocations: 0 / 1.297 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.9307, allocations: 6.172 kB / 1.297 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.9307, allocations: 24.47 kB / 1.297 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.9308, allocations: 36.45 kB / 1.297 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.9316, allocations: 0.9052 MB / 1.298 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.9317, allocations: 166.7 kB / 1.298 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.9317, allocations: 84.14 kB / 1.298 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.9318, allocations: 77.45 kB / 1.298 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.9318, allocations: 111 kB / 1.298 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9318, allocations: 5.312 kB / 1.298 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.272e-05/0.9319, allocations: 39.81 kB / 1.298 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/0.9321, allocations: 386.4 kB / 1.298 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.9323, allocations: 171.2 kB / 1.299 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.9323, allocations: 28.36 kB / 1.299 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.9324, allocations: 154.3 kB / 1.299 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-06/0.9324, allocations: 2.625 kB / 1.299 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.9325, allocations: 53.36 kB / 1.299 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.9326, allocations: 323.6 kB / 1.299 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.9326, allocations: 25.7 kB / 1.299 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.9329, allocations: 227.7 kB / 1.299 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.9331, allocations: 203.1 kB / 1.3 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.9331, allocations: 0 / 1.3 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003211/0.9334, allocations: 192.9 kB / 1.3 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.9334, allocations: 6.781 kB / 1.3 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9334, allocations: 9.844 kB / 1.3 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.9334, allocations: 10.75 kB / 1.3 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9336, allocations: 38.11 kB / 1.3 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.9336, allocations: 6.828 kB / 1.3 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.9337, allocations: 32.16 kB / 1.3 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.9337, allocations: 17.22 kB / 1.3 GB, free: 1.363 MB / 0.9981 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.0001511/0.9339, allocations: 215.7 kB / 1.3 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.9339, allocations: 116 kB / 1.3 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.934, allocations: 116 kB / 1.3 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-05/0.9341, allocations: 184.7 kB / 1.3 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.279e-05/0.9342, allocations: 177.9 kB / 1.301 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.968e-05/0.9342, allocations: 182.3 kB / 1.301 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.9345, allocations: 422.2 kB / 1.301 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.086e-05/0.9346, allocations: 102 kB / 1.301 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.9346, allocations: 107.4 kB / 1.301 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-05/0.9347, allocations: 182.1 kB / 1.302 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/0.9348, allocations: 186 kB / 1.302 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.792e-05/0.9348, allocations: 186 kB / 1.302 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.432e-05/0.9349, allocations: 182 kB / 1.302 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.9351, allocations: 315.1 kB / 1.302 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.9352, allocations: 188.9 kB / 1.303 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.339e-05/0.9353, allocations: 180.4 kB / 1.303 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/0.9354, allocations: 116.9 kB / 1.303 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.9355, allocations: 182.2 kB / 1.303 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.9355, allocations: 101 kB / 1.303 GB, free: 13.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.057e-05/0.9356, allocations: 115.1 kB / 1.303 GB, free: 13.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9356, allocations: 96 / 1.303 GB, free: 13.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000328/0.9359, allocations: 31.38 kB / 1.303 GB, free: 13.77 MB / 1.014 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.0002083/0.9361, allocations: 189.8 kB / 1.303 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.9363, allocations: 68.91 kB / 1.303 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9363, allocations: 1.344 kB / 1.303 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.9363, allocations: 1.312 kB / 1.303 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.9367, allocations: 472.7 kB / 1.304 GB, free: 13.12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.937, allocations: 254.4 kB / 1.304 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.9374, allocations: 0.6932 MB / 1.305 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.9374, allocations: 19.47 kB / 1.305 GB, free: 12.19 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.9374, allocations: 0 / 1.305 GB, free: 12.19 MB / 1.014 GB Notification: Performance of Templates: time 0.003987/0.9414, allocations: 1.727 MB / 1.307 GB, free: 12.05 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] 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