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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 103.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 497.2 MB / 0.7812 GB, free: 11.99 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 75.88 kB / 1.134 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9463/0.9482, allocations: 173.9 MB / 1.304 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001598/0.9498, allocations: 0.6093 MB / 1.305 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003407/0.9501, allocations: 76.86 kB / 1.305 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.9501, allocations: 0 / 1.305 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.9502, allocations: 0 / 1.305 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.9502, allocations: 12.7 kB / 1.305 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.9505, allocations: 42.98 kB / 1.305 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.45e-05/0.9506, allocations: 25.94 kB / 1.305 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.9506, allocations: 2.906 kB / 1.305 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.9507, allocations: 12.97 kB / 1.305 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.9508, allocations: 70.36 kB / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.9509, allocations: 3.938 kB / 1.305 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.9509, allocations: 42.55 kB / 1.305 GB, free: 31.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.951, allocations: 18.41 kB / 1.305 GB, free: 31.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.951, allocations: 17.41 kB / 1.305 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.9511, allocations: 72.72 kB / 1.305 GB, free: 31.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9511, allocations: 0 / 1.305 GB, free: 31.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9511, allocations: 0 / 1.305 GB, free: 31.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.9512, allocations: 0 / 1.305 GB, free: 31.59 MB / 1.061 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.0003034/0.9515, allocations: 364.9 kB / 1.305 GB, free: 31.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9515, allocations: 12.16 kB / 1.305 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.9515, allocations: 37.7 kB / 1.305 GB, free: 31.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.9516, allocations: 11.8 kB / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.9516, allocations: 170.9 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.9517, allocations: 4.359 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.9517, allocations: 3.156 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.9519, allocations: 188.2 kB / 1.306 GB, free: 30.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9519, allocations: 0 / 1.306 GB, free: 30.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.9519, allocations: 6.531 kB / 1.306 GB, free: 30.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.952, allocations: 19.2 kB / 1.306 GB, free: 30.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.076e-05/0.952, allocations: 36.41 kB / 1.306 GB, free: 30.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005298/0.9525, allocations: 0.9004 MB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.725e-05/0.9526, allocations: 176 kB / 1.307 GB, free: 29.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.9526, allocations: 84.14 kB / 1.307 GB, free: 29.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.9527, allocations: 79.22 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.9527, allocations: 109 kB / 1.307 GB, free: 29.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.9527, allocations: 0 / 1.307 GB, free: 29.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.962e-05/0.9528, allocations: 38.73 kB / 1.307 GB, free: 29.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.736e-05/0.9529, allocations: 387.7 kB / 1.308 GB, free: 29.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.953, allocations: 164.1 kB / 1.308 GB, free: 28.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.953, allocations: 28.39 kB / 1.308 GB, free: 28.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.9531, allocations: 162.2 kB / 1.308 GB, free: 28.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.9531, allocations: 6.219 kB / 1.308 GB, free: 28.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.9531, allocations: 54.8 kB / 1.308 GB, free: 28.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.9532, allocations: 325 kB / 1.308 GB, free: 28.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.9532, allocations: 23.59 kB / 1.308 GB, free: 28.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.9533, allocations: 232 kB / 1.308 GB, free: 28.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.9535, allocations: 197.1 kB / 1.309 GB, free: 27.87 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9535, allocations: 0 / 1.309 GB, free: 27.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002531/0.9537, allocations: 192.5 kB / 1.309 GB, free: 27.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9537, allocations: 8.594 kB / 1.309 GB, free: 27.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.9538, allocations: 5.594 kB / 1.309 GB, free: 27.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.9538, allocations: 9.188 kB / 1.309 GB, free: 27.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.9539, allocations: 36.98 kB / 1.309 GB, free: 27.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.9539, allocations: 13.42 kB / 1.309 GB, free: 27.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.316e-05/0.954, allocations: 27.28 kB / 1.309 GB, free: 27.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.954, allocations: 11.72 kB / 1.309 GB, free: 27.75 MB / 1.061 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.648e-05/0.9541, allocations: 218.9 kB / 1.309 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.9541, allocations: 110.8 kB / 1.309 GB, free: 27.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.9542, allocations: 123.4 kB / 1.309 GB, free: 27.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.9542, allocations: 176.3 kB / 1.31 GB, free: 27.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/0.9542, allocations: 183.1 kB / 1.31 GB, free: 26.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-05/0.9542, allocations: 188.2 kB / 1.31 GB, free: 26.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.9544, allocations: 424.1 kB / 1.31 GB, free: 26.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.9544, allocations: 104.9 kB / 1.31 GB, free: 26.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.9544, allocations: 103.6 kB / 1.311 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.998e-05/0.9544, allocations: 184.2 kB / 1.311 GB, free: 25.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.9544, allocations: 183.6 kB / 1.311 GB, free: 25.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-05/0.9545, allocations: 183.2 kB / 1.311 GB, free: 25.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.105e-05/0.9545, allocations: 184.2 kB / 1.311 GB, free: 25.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.018e-05/0.9546, allocations: 312.8 kB / 1.311 GB, free: 25.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.9546, allocations: 189 kB / 1.312 GB, free: 24.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.9546, allocations: 183.1 kB / 1.312 GB, free: 24.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.9547, allocations: 111.7 kB / 1.312 GB, free: 24.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.9547, allocations: 179.5 kB / 1.312 GB, free: 24.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.9547, allocations: 109 kB / 1.312 GB, free: 24.23 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.839e-05/0.9548, allocations: 121.8 kB / 1.312 GB, free: 24.15 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9548, allocations: 0 / 1.312 GB, free: 24.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002967/0.9551, allocations: 28.41 kB / 1.312 GB, free: 24.14 MB / 1.061 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.0002824/0.9554, allocations: 0.8263 MB / 1.313 GB, free: 23.33 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.9555, allocations: 72.19 kB / 1.313 GB, free: 23.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9555, allocations: 448 / 1.313 GB, free: 23.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.9555, allocations: 4 kB / 1.313 GB, free: 23.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.9558, allocations: 464 kB / 1.314 GB, free: 22.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.9562, allocations: 284.4 kB / 1.314 GB, free: 22.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.9564, allocations: 0.6912 MB / 1.315 GB, free: 21.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002216/0.9566, allocations: 54.2 kB / 1.315 GB, free: 21.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.9566, allocations: 24.53 kB / 1.315 GB, free: 21.88 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9566, allocations: 4 kB / 1.315 GB, free: 21.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.9818, allocations: 2.956 MB / 1.318 GB, free: 21.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/9.365, allocations: 12.77 kB / 1.318 GB, free: 21.38 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 840.0] 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_2/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: 15.7813018290326]