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.001884/0.001884, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002451/0.002451, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 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.516/1.516, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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 3.198/3.198, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 1.203 kB / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.207e-05, allocations: 3.625 kB / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00183/0.001862, allocations: 0.6174 MB / 0.8783 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000525/0.002387, allocations: 63.8 kB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.002408, allocations: 4 kB / 0.8783 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.002447, allocations: 3.984 kB / 0.8783 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.002497, allocations: 9.859 kB / 0.8783 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.002852, allocations: 41.84 kB / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.053e-05/0.002932, allocations: 31.89 kB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.00297, allocations: 4 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.003023, allocations: 17.11 kB / 0.8784 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.003246, allocations: 71.91 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.003261, allocations: 0 / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.003378, allocations: 48.97 kB / 0.8785 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.003417, allocations: 15.98 kB / 0.8786 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.003452, allocations: 15.92 kB / 0.8786 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.003635, allocations: 83.22 kB / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003637, allocations: 0 / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003638, allocations: 0 / 0.8786 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.003642, allocations: 0 / 0.8786 GB, free: 5.445 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000414/0.004056, allocations: 290.2 kB / 0.8789 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.004094, allocations: 8.031 kB / 0.8789 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.004161, allocations: 8.891 kB / 0.8789 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.004272, allocations: 109.7 kB / 0.879 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.004285, allocations: 384 / 0.879 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.00431, allocations: 12.94 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.004814, allocations: 432.9 kB / 0.8795 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.004823, allocations: 0.7812 kB / 0.8795 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.004845, allocations: 12.92 kB / 0.8795 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/0.004902, allocations: 27.92 kB / 0.8795 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.004981, allocations: 35.91 kB / 0.8795 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.005841, allocations: 0.8482 MB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.005961, allocations: 169.1 kB / 0.8805 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.006013, allocations: 85.66 kB / 0.8806 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.006058, allocations: 75.28 kB / 0.8807 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.19e-05/0.00614, allocations: 117.7 kB / 0.8808 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.006141, allocations: 0 / 0.8808 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.422e-05/0.006235, allocations: 38.62 kB / 0.8808 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002679/0.006503, allocations: 387.7 kB / 0.8812 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.006691, allocations: 172.5 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.006716, allocations: 25.7 kB / 0.8814 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.006853, allocations: 155.5 kB / 0.8815 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.006856, allocations: 0 / 0.8815 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.006942, allocations: 57.66 kB / 0.8816 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.007113, allocations: 318.8 kB / 0.8819 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.007165, allocations: 27.92 kB / 0.8819 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.007586, allocations: 480.7 kB / 0.8824 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.007843, allocations: 205.7 kB / 0.8826 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.007849, allocations: 4 kB / 0.8826 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003625/0.008211, allocations: 205.4 kB / 0.8828 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.008227, allocations: 4 kB / 0.8828 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.008238, allocations: 8 kB / 0.8828 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.008259, allocations: 4 kB / 0.8828 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.008403, allocations: 39.92 kB / 0.8828 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.008416, allocations: 7.938 kB / 0.8828 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.008527, allocations: 35.78 kB / 0.8829 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.008546, allocations: 15.94 kB / 0.8829 GB, free: 0.543 MB / 0.8386 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.0001669/0.008713, allocations: 217.3 kB / 0.8831 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.008813, allocations: 120.9 kB / 0.8832 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.248e-05/0.008885, allocations: 108.8 kB / 0.8833 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001104/0.008996, allocations: 180.3 kB / 0.8835 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001007/0.009096, allocations: 185 kB / 0.8837 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.81e-05/0.009194, allocations: 180.2 kB / 0.8838 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.009493, allocations: 376.7 kB / 0.8842 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-05/0.009548, allocations: 101 kB / 0.8843 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.009605, allocations: 105 kB / 0.8844 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.515e-05/0.0097, allocations: 180.2 kB / 0.8846 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.995e-05/0.0098, allocations: 184.4 kB / 0.8847 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-05/0.009899, allocations: 184.2 kB / 0.8849 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000307/0.01021, allocations: 184.3 kB / 0.8851 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.01043, allocations: 315.7 kB / 0.8854 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.0105, allocations: 112.9 kB / 0.8855 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.01063, allocations: 188.2 kB / 0.8857 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.01074, allocations: 105 kB / 0.8858 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.01085, allocations: 180.2 kB / 0.886 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.01091, allocations: 101 kB / 0.886 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001086/0.01102, allocations: 125.6 kB / 0.8862 GB, free: 13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01102, allocations: 0 / 0.8862 GB, free: 13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003567/0.01137, allocations: 32 kB / 0.8862 GB, free: 12.97 MB / 0.8542 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.0002463/0.01162, allocations: 186.5 kB / 0.8864 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.01179, allocations: 68.97 kB / 0.8864 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01179, allocations: 0 / 0.8864 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.01179, allocations: 0 / 0.8864 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.01228, allocations: 483.7 kB / 0.8869 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000388/0.01267, allocations: 228.1 kB / 0.8871 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.851e-05/0.01277, allocations: 79.97 kB / 0.8872 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002327/0.013, allocations: 60.58 kB / 0.8873 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.01303, allocations: 12.5 kB / 0.8873 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/0.01303, allocations: 0 / 0.8873 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.005157/0.01819, allocations: 1.82 MB / 0.889 GB, free: 10.07 MB / 0.8542 GB " [Timeout remaining time 300] 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 -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/jenkins/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.01998336496763]