Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001314/0.001314, 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.001443/0.001443, 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.9266/0.9266, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.672/1.672, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9505 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.573e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001081/0.001096, allocations: 0.6111 MB / 0.9511 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000261/0.001357, allocations: 63.86 kB / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.001383, allocations: 0 / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.001415, allocations: 3.938 kB / 0.9512 GB, free: 2.738 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.001459, allocations: 7.938 kB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.001755, allocations: 51.94 kB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.001819, allocations: 35.75 kB / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.001858, allocations: 0 / 0.9513 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.001896, allocations: 15.98 kB / 0.9513 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.002071, allocations: 75.91 kB / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.002085, allocations: 0 / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.537e-05/0.002171, allocations: 39.95 kB / 0.9514 GB, free: 2.516 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.002203, allocations: 19.92 kB / 0.9514 GB, free: 2.496 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.75e-05/0.002221, allocations: 7.938 kB / 0.9515 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.002345, allocations: 87.77 kB / 0.9515 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.614e-06/0.002347, allocations: 0 / 0.9515 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.61e-07/0.002348, allocations: 0 / 0.9515 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002352, allocations: 3.938 kB / 0.9515 GB, free: 2.398 MB / 0.9011 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.0002641/0.002616, allocations: 286.2 kB / 0.9518 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.002652, allocations: 12.03 kB / 0.9518 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.002686, allocations: 42.73 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.002716, allocations: 8.891 kB / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.404e-05/0.00277, allocations: 105.8 kB / 0.952 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.00278, allocations: 4.375 kB / 0.952 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.002788, allocations: 4.312 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.00303, allocations: 438.8 kB / 0.9524 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.003038, allocations: 4.188 kB / 0.9524 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.003049, allocations: 7.875 kB / 0.9524 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.003081, allocations: 27.92 kB / 0.9524 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.00313, allocations: 35.91 kB / 0.9525 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.003607, allocations: 0.8703 MB / 0.9533 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.997e-05/0.003667, allocations: 165.1 kB / 0.9535 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.00369, allocations: 84.08 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.003711, allocations: 79.28 kB / 0.9536 GB, free: 24 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.003758, allocations: 117.8 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.003759, allocations: 4 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.135e-05/0.00382, allocations: 45.62 kB / 0.9538 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002493/0.00407, allocations: 383.7 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.004177, allocations: 180.4 kB / 0.9543 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.004189, allocations: 25.7 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.004245, allocations: 151.5 kB / 0.9545 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.004248, allocations: 0 / 0.9545 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.004293, allocations: 57.66 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.004363, allocations: 322.8 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.004391, allocations: 27.98 kB / 0.9549 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.004566, allocations: 475.6 kB / 0.9553 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.00469, allocations: 205.7 kB / 0.9555 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.004693, allocations: 4 kB / 0.9555 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000197/0.00489, allocations: 193.1 kB / 0.9557 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.004902, allocations: 4 kB / 0.9557 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.004909, allocations: 4.656 kB / 0.9557 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.004922, allocations: 12 kB / 0.9558 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.005008, allocations: 43.92 kB / 0.9558 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.005016, allocations: 7.938 kB / 0.9558 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.005074, allocations: 27.83 kB / 0.9558 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.005083, allocations: 8 kB / 0.9558 GB, free: 13.42 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.493e-05/0.005168, allocations: 213 kB / 0.956 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.005209, allocations: 117 kB / 0.9562 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.005242, allocations: 116.7 kB / 0.9563 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.33e-05/0.005285, allocations: 180.2 kB / 0.9564 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.99e-05/0.005325, allocations: 180.3 kB / 0.9566 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.314e-05/0.005368, allocations: 188.8 kB / 0.9568 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.005519, allocations: 392.3 kB / 0.9572 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.00554, allocations: 104.9 kB / 0.9573 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.005562, allocations: 108.9 kB / 0.9574 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.781e-05/0.0056, allocations: 180.3 kB / 0.9575 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.005641, allocations: 180.4 kB / 0.9577 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.024e-05/0.005681, allocations: 180.2 kB / 0.9579 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.921e-05/0.00572, allocations: 188.3 kB / 0.9581 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.333e-05/0.005814, allocations: 315.7 kB / 0.9584 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.005848, allocations: 116.9 kB / 0.9585 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.954e-05/0.005897, allocations: 180.3 kB / 0.9586 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.345e-05/0.005951, allocations: 109 kB / 0.9587 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.005998, allocations: 188.1 kB / 0.9589 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.006023, allocations: 101 kB / 0.959 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.31e-05/0.006076, allocations: 121.1 kB / 0.9591 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006076, allocations: 0 / 0.9591 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00021/0.006286, allocations: 24 kB / 0.9592 GB, free: 9.816 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.0003004/0.006587, allocations: 0.8281 MB / 0.96 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.006698, allocations: 72.16 kB / 0.96 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0067, allocations: 4 kB / 0.96 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.006701, allocations: 0 / 0.96 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.006951, allocations: 474.2 kB / 0.9605 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.007292, allocations: 274.3 kB / 0.9608 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.007475, allocations: 75.98 kB / 0.9608 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.00759, allocations: 65.3 kB / 0.9609 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.007616, allocations: 24.5 kB / 0.9609 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.007616, allocations: 0 / 0.9609 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02358, allocations: 3.716 MB / 0.9645 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/6.759, allocations: 6.406 kB / 0.9646 GB, free: 4.414 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.757402153685689]