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.001351/0.001351, allocations: 113 kB / 18.94 MB, free: 2.934 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.001494/0.001494, allocations: 210.5 kB / 22.25 MB, free: 5.082 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.023 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.166/3.166, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",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.001914/0.001914, allocations: 70.17 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3177, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002143/0.3198, allocations: 0.6137 MB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004147/0.3203, allocations: 67.84 kB / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.3203, allocations: 0 / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.3203, allocations: 0 / 1.327 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.3204, allocations: 11.92 kB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.3208, allocations: 47.94 kB / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.3209, allocations: 31.91 kB / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.3209, allocations: 416 / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.321, allocations: 11.98 kB / 1.327 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.3212, allocations: 71.88 kB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.3213, allocations: 0 / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.3214, allocations: 47.94 kB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.3214, allocations: 19.92 kB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.3215, allocations: 15.88 kB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.3217, allocations: 72 kB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3217, allocations: 0 / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3217, allocations: 0 / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.3217, allocations: 4 kB / 1.327 GB, free: 0.9141 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.0004775/0.3222, allocations: 294.2 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.3222, allocations: 12.03 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.3223, allocations: 42.73 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.3223, allocations: 8.891 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.655e-05/0.3224, allocations: 106.5 kB / 1.327 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3224, allocations: 8.312 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3224, allocations: 4.359 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.3227, allocations: 184.7 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3227, allocations: 0 / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3228, allocations: 7.984 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-05/0.3228, allocations: 15.98 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.3229, allocations: 43.84 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.3237, allocations: 0.8742 MB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.3238, allocations: 173.1 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/0.3239, allocations: 80.14 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.3239, allocations: 79.22 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.475e-05/0.324, allocations: 117.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.324, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.987e-05/0.3241, allocations: 33.66 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/0.3243, allocations: 395.7 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3245, allocations: 163.4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.3245, allocations: 25.7 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3246, allocations: 159.5 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.3246, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-05/0.3247, allocations: 53.69 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3248, allocations: 318.8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.3249, allocations: 27.97 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.3251, allocations: 225.1 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.3254, allocations: 197.8 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3254, allocations: 0 / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003322/0.3257, allocations: 193.5 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.3257, allocations: 8 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3257, allocations: 4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.3258, allocations: 11.94 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3259, allocations: 39.92 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.3259, allocations: 11.94 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.326, allocations: 27.78 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.326, 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.0001651/0.3262, allocations: 213.4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.3263, allocations: 112.9 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/0.3264, allocations: 124.8 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.28e-05/0.3265, allocations: 176.3 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.124e-05/0.3265, allocations: 184.2 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001109/0.3266, allocations: 180.3 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.3269, allocations: 396.2 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-05/0.327, allocations: 101.1 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.327, allocations: 108.9 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.26e-05/0.3271, allocations: 180.2 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/0.3272, allocations: 188.2 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-05/0.3273, allocations: 184.2 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.144e-05/0.3274, allocations: 176.3 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.3275, allocations: 315.7 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.3276, allocations: 116.9 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.3277, allocations: 192.1 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.3278, allocations: 105 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.433e-05/0.3279, allocations: 184.6 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.328, allocations: 104.9 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001006/0.3281, allocations: 115.2 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3281, allocations: 0 / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003517/0.3284, allocations: 31.94 kB / 1.334 GB, free: 8.938 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.0005918/0.329, allocations: 0.836 MB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.3292, allocations: 72.72 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3292, allocations: 0 / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.3292, allocations: 0 / 1.335 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.0004163/0.3296, allocations: 473.2 kB / 1.335 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.3302, allocations: 274.6 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.3306, allocations: 0.6969 MB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002207/0.3308, allocations: 56.59 kB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.3309, allocations: 15.44 kB / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3309, allocations: 0 / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03138/0.3623, allocations: 3.14 MB / 1.339 GB, free: 3.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.42, allocations: 7.844 kB / 1.339 GB, free: 3.453 MB / 1.029 GB " [Timeout remaining time 287] (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: 19.163587319897488]