Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001349/0.001349, allocations: 100.3 kB / 19.72 MB, free: 428 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.001616/0.001616, allocations: 218.8 kB / 23.02 MB, free: 2.953 MB / 13.93 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.035/1.035, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.045/2.045, allocations: 0.5045 GB / 0.8104 GB, free: 2.836 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 76.89 kB / 1.177 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3102, allocations: 180 MB / 1.352 GB, free: 9.203 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001652/0.3119, allocations: 0.6144 MB / 1.353 GB, free: 8.59 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.3122, allocations: 67.84 kB / 1.353 GB, free: 8.523 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.3122, allocations: 0 / 1.353 GB, free: 8.523 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.3123, allocations: 0 / 1.353 GB, free: 8.523 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.3123, allocations: 11.92 kB / 1.353 GB, free: 8.512 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.3127, allocations: 51.94 kB / 1.353 GB, free: 8.461 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.3128, allocations: 23.92 kB / 1.353 GB, free: 8.438 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.3128, allocations: 416 / 1.353 GB, free: 8.438 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.3129, allocations: 19.91 kB / 1.353 GB, free: 8.418 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.3131, allocations: 67.94 kB / 1.353 GB, free: 8.352 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3131, allocations: 0 / 1.353 GB, free: 8.352 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3132, allocations: 43.94 kB / 1.353 GB, free: 8.309 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.3132, allocations: 15.94 kB / 1.353 GB, free: 8.293 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.3133, allocations: 19.86 kB / 1.353 GB, free: 8.273 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.3134, allocations: 68.02 kB / 1.353 GB, free: 8.207 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3134, allocations: 7.938 kB / 1.353 GB, free: 8.199 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3134, allocations: 0 / 1.353 GB, free: 8.199 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.3134, allocations: 0 / 1.353 GB, free: 8.199 MB / 1.042 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.0003608/0.3138, allocations: 282.3 kB / 1.354 GB, free: 7.891 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.3138, allocations: 12.92 kB / 1.354 GB, free: 7.879 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.3139, allocations: 46.72 kB / 1.354 GB, free: 7.824 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3139, allocations: 8.891 kB / 1.354 GB, free: 7.816 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.587e-05/0.314, allocations: 121 kB / 1.354 GB, free: 7.676 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.314, allocations: 384 / 1.354 GB, free: 7.676 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.314, allocations: 384 / 1.354 GB, free: 7.676 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.3143, allocations: 448.2 kB / 1.354 GB, free: 7.152 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3143, allocations: 0 / 1.354 GB, free: 7.152 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3144, allocations: 0 / 1.354 GB, free: 7.152 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/0.3144, allocations: 23.98 kB / 1.354 GB, free: 7.129 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.687e-05/0.3145, allocations: 39.84 kB / 1.354 GB, free: 7.09 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.315, allocations: 0.8741 MB / 1.355 GB, free: 6.152 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.332e-05/0.3151, allocations: 169.1 kB / 1.355 GB, free: 5.977 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.3151, allocations: 88.14 kB / 1.355 GB, free: 5.887 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3151, allocations: 75.28 kB / 1.356 GB, free: 5.812 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.3152, allocations: 109.8 kB / 1.356 GB, free: 5.695 MB / 1.042 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3152, allocations: 0 / 1.356 GB, free: 5.695 MB / 1.042 GB Notification: Performance of matching and sorting (n=0): time 7.282e-05/0.3153, allocations: 41.59 kB / 1.356 GB, free: 5.648 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.3154, allocations: 391.7 kB / 1.356 GB, free: 5.191 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3155, allocations: 175.8 kB / 1.356 GB, free: 5.012 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3155, allocations: 29.7 kB / 1.356 GB, free: 4.977 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.3156, allocations: 151.5 kB / 1.356 GB, free: 4.824 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-06/0.3156, allocations: 0 / 1.356 GB, free: 4.824 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.3157, allocations: 61.59 kB / 1.356 GB, free: 4.758 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.3158, allocations: 318.8 kB / 1.357 GB, free: 4.438 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.3158, allocations: 27.97 kB / 1.357 GB, free: 4.41 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.316, allocations: 484.8 kB / 1.357 GB, free: 3.781 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3162, allocations: 197.8 kB / 1.357 GB, free: 3.523 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3162, allocations: 0 / 1.357 GB, free: 3.523 MB / 1.042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002456/0.3164, allocations: 193.1 kB / 1.358 GB, free: 3.328 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3164, allocations: 8 kB / 1.358 GB, free: 3.32 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3164, allocations: 8 kB / 1.358 GB, free: 3.312 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3165, allocations: 8.594 kB / 1.358 GB, free: 3.305 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3166, allocations: 47.86 kB / 1.358 GB, free: 3.258 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.3166, allocations: 11.98 kB / 1.358 GB, free: 3.246 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.3166, allocations: 23.84 kB / 1.358 GB, free: 3.223 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3167, allocations: 12.09 kB / 1.358 GB, free: 3.211 MB / 1.042 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.0001053/0.3168, allocations: 220.9 kB / 1.358 GB, free: 2.984 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.3168, allocations: 108.9 kB / 1.358 GB, free: 2.871 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.3169, allocations: 120.5 kB / 1.358 GB, free: 2.746 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.737e-05/0.3169, allocations: 188.3 kB / 1.358 GB, free: 2.555 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001402/0.3171, allocations: 180.2 kB / 1.359 GB, free: 2.371 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.232e-05/0.3171, allocations: 176.3 kB / 1.359 GB, free: 2.191 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3173, allocations: 396.2 kB / 1.359 GB, free: 1.754 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.3173, allocations: 113 kB / 1.359 GB, free: 1.637 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.3173, allocations: 101 kB / 1.359 GB, free: 1.531 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.235e-05/0.3174, allocations: 180.2 kB / 1.359 GB, free: 1.348 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.3174, allocations: 184.2 kB / 1.36 GB, free: 1.16 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-05/0.3175, allocations: 184.2 kB / 1.36 GB, free: 0.9727 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.331e-05/0.3175, allocations: 180.2 kB / 1.36 GB, free: 0.7891 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.3176, allocations: 311.7 kB / 1.36 GB, free: 472 kB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.3177, allocations: 108.9 kB / 1.36 GB, free: 356 kB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.3177, allocations: 192.1 kB / 1.361 GB, free: 156 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.3178, allocations: 105.3 kB / 1.361 GB, free: 44 kB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.3178, allocations: 188.2 kB / 1.361 GB, free: 15.85 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.3179, allocations: 109 kB / 1.361 GB, free: 15.74 MB / 1.057 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.3179, allocations: 112.9 kB / 1.361 GB, free: 15.63 MB / 1.057 GB Notification: Performance of sort global known variables: time 5e-08/0.3179, allocations: 0 / 1.361 GB, free: 15.63 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002259/0.3182, allocations: 28 kB / 1.361 GB, free: 15.6 MB / 1.057 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.0003419/0.3185, allocations: 0.8397 MB / 1.362 GB, free: 14.73 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.3186, allocations: 72.53 kB / 1.362 GB, free: 14.66 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3186, allocations: 4 kB / 1.362 GB, free: 14.66 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.3186, allocations: 0 / 1.362 GB, free: 14.66 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.3189, allocations: 469.4 kB / 1.362 GB, free: 14.2 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.3193, allocations: 266.2 kB / 1.363 GB, free: 13.9 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.689e-05/0.3194, allocations: 79.97 kB / 1.363 GB, free: 13.8 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.3196, allocations: 57.16 kB / 1.363 GB, free: 13.75 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.3196, allocations: 19.44 kB / 1.363 GB, free: 13.73 MB / 1.057 GB Notification: Performance of SimCode: time 5.31e-07/0.3196, allocations: 0 / 1.363 GB, free: 13.73 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08275/0.4024, allocations: 3.597 MB / 1.366 GB, free: 10.33 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.359, allocations: 10.59 kB / 1.366 GB, free: 10.32 MB / 1.057 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.73966065235436]