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.001577/0.001582, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001442/0.001442, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9506/0.951, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007894/0.9518, allocations: 331.9 kB / 0.9538 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.9521, allocations: 70.16 kB / 0.9539 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.9522, allocations: 0 / 0.9539 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.9522, allocations: 0.9062 kB / 0.9539 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.9523, allocations: 11.8 kB / 0.9539 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.9525, allocations: 28.88 kB / 0.9539 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.776e-05/0.9526, allocations: 29.61 kB / 0.954 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/0.9527, allocations: 1.281 kB / 0.954 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.194e-05/0.9527, allocations: 18.86 kB / 0.954 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.953, allocations: 71.77 kB / 0.9541 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.953, allocations: 5.188 kB / 0.9541 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.9531, allocations: 34.48 kB / 0.9541 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.9531, allocations: 13.47 kB / 0.9541 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.9532, allocations: 34.02 kB / 0.9541 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.9533, allocations: 44.83 kB / 0.9542 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9533, allocations: 0 / 0.9542 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9533, allocations: 4.969 kB / 0.9542 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.9533, allocations: 0 / 0.9542 GB, free: 7.609 MB / 0.7169 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.0003503/0.9537, allocations: 344.1 kB / 0.9545 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.303e-05/0.9537, allocations: 9.656 kB / 0.9545 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.9538, allocations: 11.86 kB / 0.9545 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.9539, allocations: 176 kB / 0.9547 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.9539, allocations: 1.656 kB / 0.9547 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.9539, allocations: 5.734 kB / 0.9547 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.9543, allocations: 173.1 kB / 0.9549 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.9543, allocations: 1.344 kB / 0.9549 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.9543, allocations: 5.328 kB / 0.9549 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.9544, allocations: 23.31 kB / 0.9549 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.433e-05/0.9545, allocations: 40.17 kB / 0.955 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/0.9553, allocations: 0.8986 MB / 0.9558 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.47e-05/0.9554, allocations: 170.5 kB / 0.956 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.9554, allocations: 79.22 kB / 0.9561 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.9555, allocations: 112.5 kB / 0.9562 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.9555, allocations: 0 / 0.9562 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.481e-05/0.9556, allocations: 39.33 kB / 0.9562 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.9557, allocations: 386.5 kB / 0.9566 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.9559, allocations: 175.7 kB / 0.9567 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.9559, allocations: 27.67 kB / 0.9568 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.956, allocations: 143.5 kB / 0.9569 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.101e-06/0.956, allocations: 6.359 kB / 0.9569 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.956, allocations: 5.25 kB / 0.9569 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.9561, allocations: 321.2 kB / 0.9572 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.9562, allocations: 30.86 kB / 0.9573 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.9563, allocations: 219.1 kB / 0.9575 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.9564, allocations: 72.53 kB / 0.9575 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.9565, allocations: 2.156 kB / 0.9575 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003742/0.9568, allocations: 187.2 kB / 0.9577 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.9569, allocations: 7.812 kB / 0.9577 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9569, allocations: 4.156 kB / 0.9577 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.9569, allocations: 7.062 kB / 0.9577 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.9571, allocations: 42.42 kB / 0.9578 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.9571, allocations: 14.17 kB / 0.9578 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.9572, allocations: 30.42 kB / 0.9578 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.9573, allocations: 9.969 kB / 0.9578 GB, free: 3.984 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.9574, allocations: 215.6 kB / 0.958 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.9575, allocations: 114.1 kB / 0.9581 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.9575, allocations: 116.8 kB / 0.9583 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.453e-05/0.9576, allocations: 181.7 kB / 0.9584 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.801e-05/0.9576, allocations: 177.7 kB / 0.9586 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.484e-05/0.9577, allocations: 186.9 kB / 0.9588 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.9579, allocations: 419.2 kB / 0.9592 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.958, allocations: 114.3 kB / 0.9593 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.958, allocations: 106.3 kB / 0.9594 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.898e-05/0.9581, allocations: 176.3 kB / 0.9596 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/0.9581, allocations: 181.6 kB / 0.9597 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-05/0.9582, allocations: 181.6 kB / 0.9599 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-05/0.9583, allocations: 181.6 kB / 0.9601 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.9584, allocations: 311.1 kB / 0.9604 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.729e-05/0.9585, allocations: 192.8 kB / 0.9606 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.9586, allocations: 183.5 kB / 0.9607 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.9587, allocations: 124.1 kB / 0.9608 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.141e-05/0.9587, allocations: 176.3 kB / 0.961 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.9588, allocations: 106.4 kB / 0.9611 GB, free: 464 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.719e-05/0.9589, allocations: 116.6 kB / 0.9612 GB, free: 368 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9589, allocations: 1.25 kB / 0.9612 GB, free: 368 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003422/0.9592, allocations: 30.16 kB / 0.9613 GB, free: 360 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002796/0.9595, allocations: 192.9 kB / 0.9614 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.9597, allocations: 73.94 kB / 0.9615 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.9597, allocations: 2.531 kB / 0.9615 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.9597, allocations: 0 / 0.9615 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.9602, allocations: 0.5321 MB / 0.962 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.9606, allocations: 234.3 kB / 0.9623 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.9611, allocations: 0.6956 MB / 0.9629 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000268/0.9614, allocations: 47.73 kB / 0.963 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.9614, allocations: 23.03 kB / 0.963 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.9614, allocations: 0 / 0.963 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.004755/0.9662, allocations: 1.677 MB / 0.9646 GB, free: 13.83 MB / 0.7325 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 -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","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches