Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001757/0.001757, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.002534/0.002534, allocations: 214.7 kB / 23.04 MB, free: 5.074 MB / 14.72 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: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 0.49 GB / 0.7959 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.62 kB / 1.155 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3448, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001959/0.3468, allocations: 0.6216 MB / 1.327 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003578/0.3471, allocations: 71.78 kB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.3471, allocations: 0 / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.3472, allocations: 0 / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.3472, allocations: 7.984 kB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.3476, allocations: 43.89 kB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.257e-05/0.3477, allocations: 23.97 kB / 1.327 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.3477, allocations: 8.406 kB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.3477, allocations: 12 kB / 1.327 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.348, allocations: 71.84 kB / 1.328 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.348, allocations: 4 kB / 1.328 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3481, allocations: 47.89 kB / 1.328 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.3481, allocations: 19.92 kB / 1.328 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.3482, allocations: 15.88 kB / 1.328 GB, free: 1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.3483, allocations: 72 kB / 1.328 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.3483, allocations: 4 kB / 1.328 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3483, allocations: 0 / 1.328 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.3483, allocations: 0 / 1.328 GB, free: 0.9258 MB / 1.014 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.0003933/0.3487, allocations: 294.2 kB / 1.328 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3488, allocations: 8.031 kB / 1.328 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.805e-05/0.3488, allocations: 4.188 kB / 1.328 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.3489, allocations: 42.73 kB / 1.328 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.3489, allocations: 8.891 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.349, allocations: 110.5 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.349, allocations: 4.375 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.349, allocations: 384 / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.3493, allocations: 188.5 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3493, allocations: 0 / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3493, allocations: 4 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.3494, allocations: 19.98 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.009e-05/0.3494, allocations: 43.84 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.3502, allocations: 0.8741 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3503, allocations: 169.1 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.3504, allocations: 84.08 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.3504, allocations: 79.22 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/0.3505, allocations: 113.8 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3505, allocations: 0 / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.181e-05/0.3506, allocations: 37.69 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/0.3508, allocations: 387.7 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.351, allocations: 163.6 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.351, allocations: 29.7 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3511, allocations: 155.5 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.3511, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.3512, allocations: 61.53 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3513, allocations: 318.8 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.3514, allocations: 27.98 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.3516, allocations: 215.7 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.3518, allocations: 209.7 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3518, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003307/0.3522, allocations: 193.3 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3522, allocations: 13.55 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3522, allocations: 11.94 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3522, allocations: 8 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3524, allocations: 35.92 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.3524, allocations: 15.92 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.944e-05/0.3525, allocations: 28.28 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3525, allocations: 16 kB / 1.331 GB, free: 12.56 MB / 1.029 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.0001495/0.3526, allocations: 213 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3528, allocations: 108.9 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.3528, allocations: 124.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.961e-05/0.3529, allocations: 176.3 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-05/0.353, allocations: 188.3 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.253e-05/0.3531, allocations: 180.2 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.3534, allocations: 392.3 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/0.3534, allocations: 104.9 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.3535, allocations: 101 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.569e-05/0.3535, allocations: 176.3 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.616e-05/0.3536, allocations: 192.1 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.926e-05/0.3537, allocations: 180.2 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.75e-05/0.3538, allocations: 180.2 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.354, allocations: 315.7 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.354, allocations: 113 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3541, allocations: 196.1 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3543, allocations: 104.9 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.3543, allocations: 184.6 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.3544, allocations: 104.9 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.596e-05/0.3545, allocations: 113.5 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3545, allocations: 0 / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003382/0.3548, allocations: 39.92 kB / 1.335 GB, free: 8.941 MB / 1.029 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.000542/0.3554, allocations: 0.8243 MB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3555, allocations: 80.2 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3555, allocations: 3.938 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.417e-06/0.3555, allocations: 4 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.356, allocations: 465.9 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.3566, allocations: 282.2 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.357, allocations: 0.6891 MB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000233/0.3572, allocations: 60.58 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.3572, allocations: 19.44 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3572, allocations: 0 / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.3809, allocations: 3.167 MB / 1.34 GB, free: 3.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.96, allocations: 13.38 kB / 1.34 GB, free: 3.438 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.784042775048874]