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.000924/0.0009241, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0009239/0.000924, allocations: 172.7 kB / 15.95 MB, free: 208 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.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.32 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.554/2.554, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003428, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9118/0.9121, allocations: 142.4 MB / 0.9544 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007698/0.913, allocations: 331 kB / 0.9548 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003276/0.9133, allocations: 65.69 kB / 0.9548 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.9133, allocations: 0.6562 kB / 0.9548 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.9134, allocations: 1.438 kB / 0.9548 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.9134, allocations: 15.3 kB / 0.9548 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.9137, allocations: 41.14 kB / 0.9549 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.9138, allocations: 23.44 kB / 0.9549 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.9139, allocations: 1.344 kB / 0.9549 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.9139, allocations: 18.45 kB / 0.9549 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.9142, allocations: 76.2 kB / 0.955 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.9142, allocations: 1.406 kB / 0.955 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.9143, allocations: 36.98 kB / 0.955 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.9143, allocations: 17.09 kB / 0.955 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.9144, allocations: 32.64 kB / 0.9551 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.9145, allocations: 42.55 kB / 0.9551 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.9145, allocations: 0 / 0.9551 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.156e-06/0.9145, allocations: 0 / 0.9551 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.9145, allocations: 0 / 0.9551 GB, free: 7.34 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.0002924/0.9148, allocations: 348.4 kB / 0.9554 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.9149, allocations: 13.06 kB / 0.9555 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.9149, allocations: 12.67 kB / 0.9555 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.23e-05/0.915, allocations: 172.2 kB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.915, allocations: 1.031 kB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.915, allocations: 2.281 kB / 0.9556 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.9153, allocations: 173.8 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.9153, allocations: 5.469 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.9153, allocations: 1.125 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.9154, allocations: 27.59 kB / 0.9558 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.9155, allocations: 40.11 kB / 0.9559 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.916, allocations: 0.9026 MB / 0.9568 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.555e-05/0.9161, allocations: 170.3 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.9161, allocations: 80.14 kB / 0.957 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.9161, allocations: 79.28 kB / 0.9571 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.9162, allocations: 112.7 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.9162, allocations: 0 / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.653e-05/0.9163, allocations: 43.12 kB / 0.9572 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.9164, allocations: 389.9 kB / 0.9576 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.9165, allocations: 168.7 kB / 0.9578 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.9165, allocations: 30.61 kB / 0.9578 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.9166, allocations: 148.8 kB / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.9166, allocations: 1.25 kB / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.9166, allocations: 5.219 kB / 0.9579 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.9167, allocations: 321.6 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.9168, allocations: 23.77 kB / 0.9583 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.9169, allocations: 223.7 kB / 0.9585 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.917, allocations: 68.78 kB / 0.9585 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.917, allocations: 1.219 kB / 0.9585 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003284/0.9174, allocations: 192.1 kB / 0.9587 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.9174, allocations: 7.031 kB / 0.9587 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.9174, allocations: 12.64 kB / 0.9587 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.9174, allocations: 6.438 kB / 0.9587 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.9176, allocations: 38.61 kB / 0.9588 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.9176, allocations: 12.08 kB / 0.9588 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.521e-05/0.9177, allocations: 32.2 kB / 0.9588 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.9178, allocations: 10.78 kB / 0.9588 GB, free: 3.621 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.0001194/0.9179, allocations: 215.1 kB / 0.959 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.9179, allocations: 118.3 kB / 0.9592 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.918, allocations: 113.2 kB / 0.9593 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/0.918, allocations: 185.3 kB / 0.9594 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.503e-05/0.9181, allocations: 182.8 kB / 0.9596 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.771e-05/0.9181, allocations: 177.5 kB / 0.9598 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.9183, allocations: 423.5 kB / 0.9602 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/0.9184, allocations: 114.3 kB / 0.9603 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.9184, allocations: 106.3 kB / 0.9604 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.14e-05/0.9184, allocations: 176.3 kB / 0.9606 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.9185, allocations: 177.6 kB / 0.9607 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.85e-05/0.9185, allocations: 181.6 kB / 0.9609 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.767e-05/0.9185, allocations: 181.6 kB / 0.9611 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.822e-05/0.9186, allocations: 323.4 kB / 0.9614 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.9187, allocations: 184.4 kB / 0.9616 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.9187, allocations: 186.9 kB / 0.9617 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.265e-05/0.9188, allocations: 108.1 kB / 0.9618 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.9189, allocations: 185.4 kB / 0.962 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.9189, allocations: 102.1 kB / 0.9621 GB, free: 96 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.9189, allocations: 116.7 kB / 0.9622 GB, free: 0 / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9189, allocations: 0 / 0.9622 GB, free: 0 / 0.7169 GB Notification: Performance of remove unused functions: time 0.000355/0.9193, allocations: 27.23 kB / 0.9623 GB, free: 15.99 MB / 0.7325 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.0002161/0.9195, allocations: 193 kB / 0.9624 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.9197, allocations: 77.34 kB / 0.9625 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9197, allocations: 2.031 kB / 0.9625 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.9197, allocations: 0 / 0.9625 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.9202, allocations: 0.5354 MB / 0.963 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.9205, allocations: 237.2 kB / 0.9633 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.9209, allocations: 0.6901 MB / 0.9639 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002278/0.9211, allocations: 61.17 kB / 0.964 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.9211, allocations: 13.47 kB / 0.964 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.9211, allocations: 0 / 0.964 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of Templates: time 0.005108/0.9262, allocations: 1.686 MB / 0.9657 GB, free: 13.46 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","/var/lib/jenkins/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