Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 108.4 kB / 16.37 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009808/0.0009808, allocations: 193.1 kB / 17.31 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.983/1.983, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 66.83 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2235, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001567/0.2251, allocations: 0.6153 MB / 0.9517 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000275/0.2254, allocations: 67.8 kB / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.2254, allocations: 0 / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.2255, allocations: 3.984 kB / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.2255, allocations: 11.94 kB / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2258, allocations: 43.94 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.2258, allocations: 23.98 kB / 0.9519 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.2259, allocations: 3.938 kB / 0.9519 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.2259, allocations: 11.98 kB / 0.9519 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.2261, allocations: 71.88 kB / 0.952 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2261, allocations: 0 / 0.952 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.565e-05/0.2262, allocations: 39.95 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.2262, allocations: 19.92 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.2263, allocations: 23.86 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2264, allocations: 67.8 kB / 0.9521 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2264, allocations: 0 / 0.9521 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2264, allocations: 0 / 0.9521 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2264, allocations: 0 / 0.9521 GB, free: 7.074 MB / 0.7325 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.0002985/0.2267, allocations: 367.3 kB / 0.9524 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2268, allocations: 8.031 kB / 0.9525 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.2268, allocations: 8.844 kB / 0.9525 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.042e-05/0.2269, allocations: 168.3 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2269, allocations: 12.34 kB / 0.9526 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.2269, allocations: 4.375 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.2271, allocations: 180.5 kB / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.2271, allocations: 0 / 0.9528 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2272, allocations: 8 kB / 0.9528 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/0.2272, allocations: 19.97 kB / 0.9528 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.901e-05/0.2273, allocations: 43.91 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.2278, allocations: 0.8983 MB / 0.9538 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.502e-05/0.2279, allocations: 177.1 kB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.228, allocations: 84.12 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.228, allocations: 75.28 kB / 0.9541 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.228, allocations: 109.8 kB / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.228, allocations: 0 / 0.9542 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.405e-05/0.2281, allocations: 37.69 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.2283, allocations: 391.7 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2284, allocations: 167.9 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2284, allocations: 25.7 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.2285, allocations: 155.1 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.2285, allocations: 0 / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.2286, allocations: 57.61 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2287, allocations: 330.8 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.2287, allocations: 27.92 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.2289, allocations: 216.4 kB / 0.9555 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.229, allocations: 201.8 kB / 0.9557 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2291, allocations: 0 / 0.9557 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002656/0.2293, allocations: 193.2 kB / 0.9559 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2293, allocations: 10.03 kB / 0.9559 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2294, allocations: 4 kB / 0.9559 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2294, allocations: 11.94 kB / 0.9559 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2295, allocations: 35.92 kB / 0.956 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2295, allocations: 12.53 kB / 0.956 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.101e-05/0.2296, allocations: 31.69 kB / 0.956 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.2296, allocations: 12 kB / 0.956 GB, free: 2.574 MB / 0.7325 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.0001096/0.2297, allocations: 213 kB / 0.9562 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.2298, allocations: 111 kB / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.2299, allocations: 124.8 kB / 0.9564 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.644e-05/0.2299, allocations: 180.3 kB / 0.9566 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.777e-05/0.23, allocations: 188.2 kB / 0.9568 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.152e-05/0.23, allocations: 180.2 kB / 0.957 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.2302, allocations: 421.2 kB / 0.9574 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.902e-05/0.2303, allocations: 104.9 kB / 0.9575 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.2303, allocations: 101 kB / 0.9576 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-05/0.2304, allocations: 180.2 kB / 0.9577 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.2304, allocations: 184.3 kB / 0.9579 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.356e-05/0.2305, allocations: 188.2 kB / 0.9581 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.452e-05/0.2305, allocations: 180.2 kB / 0.9583 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.2307, allocations: 307.7 kB / 0.9586 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.2307, allocations: 194.1 kB / 0.9587 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.2308, allocations: 176.3 kB / 0.9589 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.2309, allocations: 116.9 kB / 0.959 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.231, allocations: 180.6 kB / 0.9592 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.231, allocations: 108.9 kB / 0.9593 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.2311, allocations: 115.2 kB / 0.9594 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2311, allocations: 4 kB / 0.9594 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002791/0.2314, allocations: 32 kB / 0.9594 GB, free: 14.84 MB / 0.7481 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.0001797/0.2315, allocations: 182.5 kB / 0.9596 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.2317, allocations: 77 kB / 0.9597 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2317, allocations: 8.062 kB / 0.9597 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2317, allocations: 0 / 0.9597 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.232, allocations: 467.6 kB / 0.9601 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.2323, allocations: 236.6 kB / 0.9604 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.2325, allocations: 0.689 MB / 0.961 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.2326, allocations: 56.58 kB / 0.9611 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.2327, allocations: 15.44 kB / 0.9611 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.2327, allocations: 4 kB / 0.9611 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of Templates: time 0.003592/0.2363, allocations: 1.649 MB / 0.9627 GB, free: 11.44 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches