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.0008226/0.0008226, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008491/0.0008491, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.9106/0.9106, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.803/1.803, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> 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 1.683e-06/1.683e-06, allocations: 3.938 kB / 0.9997 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.024e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001247/0.001267, allocations: 0.6189 MB / 1 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.001534, allocations: 63.86 kB / 1 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.001556, allocations: 0 / 1 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.001587, allocations: 0 / 1 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.001636, allocations: 15.86 kB / 1 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.001926, allocations: 43.94 kB / 1 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.217e-05/0.001988, allocations: 23.97 kB / 1 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.002027, allocations: 7.938 kB / 1 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.002065, allocations: 27.95 kB / 1 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.002245, allocations: 63.94 kB / 1.001 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.002271, allocations: 0 / 1.001 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.002361, allocations: 43.94 kB / 1.001 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 3.433e-05/0.002396, allocations: 19.94 kB / 1.001 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.002418, allocations: 15.97 kB / 1.001 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.002539, allocations: 71.8 kB / 1.001 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.002541, allocations: 4 kB / 1.001 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002542, allocations: 0 / 1.001 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002545, allocations: 0 / 1.001 GB, free: 11.32 MB / 0.9167 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.0002614/0.002807, allocations: 294.1 kB / 1.001 GB, free: 11 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.002845, allocations: 8.75 kB / 1.001 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.002878, allocations: 42.73 kB / 1.001 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.002906, allocations: 8.891 kB / 1.001 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.317e-05/0.002959, allocations: 109.7 kB / 1.001 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.002969, allocations: 384 / 1.001 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.002976, allocations: 4.375 kB / 1.001 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.003235, allocations: 438.7 kB / 1.002 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.003243, allocations: 4.188 kB / 1.002 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.003255, allocations: 7.938 kB / 1.002 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.00329, allocations: 31.92 kB / 1.002 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.815e-05/0.003338, allocations: 39.84 kB / 1.002 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.003801, allocations: 0.8664 MB / 1.002 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.203e-05/0.003863, allocations: 169.1 kB / 1.003 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.003888, allocations: 84.08 kB / 1.003 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.003906, allocations: 75.28 kB / 1.003 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.003941, allocations: 109.8 kB / 1.003 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.003942, allocations: 0 / 1.003 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.091e-05/0.004003, allocations: 49.53 kB / 1.003 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.004145, allocations: 387.7 kB / 1.003 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.004259, allocations: 180 kB / 1.003 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.004269, allocations: 25.7 kB / 1.004 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.004327, allocations: 151.5 kB / 1.004 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.004331, allocations: 3.984 kB / 1.004 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.004377, allocations: 57.66 kB / 1.004 GB, free: 7.883 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.004443, allocations: 314.8 kB / 1.004 GB, free: 7.566 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.004472, allocations: 27.97 kB / 1.004 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.004643, allocations: 479.6 kB / 1.005 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.00477, allocations: 205.7 kB / 1.005 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.004772, allocations: 0 / 1.005 GB, free: 6.648 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002014/0.004974, allocations: 193.1 kB / 1.005 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.004988, allocations: 8 kB / 1.005 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.004994, allocations: 4 kB / 1.005 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.005008, allocations: 8.656 kB / 1.005 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.005097, allocations: 39.92 kB / 1.005 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.005108, allocations: 15.92 kB / 1.005 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.005166, allocations: 27.84 kB / 1.005 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.005176, allocations: 12 kB / 1.005 GB, free: 6.34 MB / 0.9167 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 8.765e-05/0.005264, allocations: 213 kB / 1.005 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.005305, allocations: 112.9 kB / 1.005 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.005342, allocations: 120.8 kB / 1.005 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.801e-05/0.00538, allocations: 180.2 kB / 1.006 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-05/0.005421, allocations: 181 kB / 1.006 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.182e-05/0.005463, allocations: 184.2 kB / 1.006 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.005614, allocations: 396.2 kB / 1.006 GB, free: 4.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/0.005636, allocations: 101 kB / 1.006 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.005659, allocations: 108.9 kB / 1.007 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.678e-05/0.005696, allocations: 184.2 kB / 1.007 GB, free: 4.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.005735, allocations: 180.4 kB / 1.007 GB, free: 4.297 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.753e-05/0.005772, allocations: 180.2 kB / 1.007 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-05/0.005811, allocations: 188.3 kB / 1.007 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.883e-05/0.005899, allocations: 315.6 kB / 1.008 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.005933, allocations: 109 kB / 1.008 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.005979, allocations: 180.2 kB / 1.008 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.006028, allocations: 105 kB / 1.008 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.006074, allocations: 200.1 kB / 1.008 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.0061, allocations: 101 kB / 1.008 GB, free: 2.871 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.00615, allocations: 117.7 kB / 1.008 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00615, allocations: 0 / 1.008 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002045/0.006354, allocations: 28.09 kB / 1.008 GB, free: 2.73 MB / 0.9167 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.0002978/0.006652, allocations: 0.832 MB / 1.009 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.006763, allocations: 72.53 kB / 1.009 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.006765, allocations: 0 / 1.009 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.006766, allocations: 0 / 1.009 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.007012, allocations: 477.1 kB / 1.01 GB, free: 1.328 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.007507, allocations: 274.1 kB / 1.01 GB, free: 1.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.226e-05/0.007559, allocations: 79.88 kB / 1.01 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.007681, allocations: 49.17 kB / 1.01 GB, free: 0.8711 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.007711, allocations: 28.48 kB / 1.01 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of SimCode: time 5.72e-07/0.007711, allocations: 0 / 1.01 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.0243, allocations: 3.72 MB / 1.014 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.928, allocations: 8.25 kB / 1.014 GB, free: 13.32 MB / 0.9323 GB " [Timeout remaining time 293] (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/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: 11.407156280241907]