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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.114/2.114, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/0.5217, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001508/0.5232, allocations: 0.5918 MB / 0.9503 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002487/0.5235, allocations: 71.09 kB / 0.9504 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.5235, allocations: 0 / 0.9504 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.5235, allocations: 0 / 0.9504 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.551e-05/0.5236, allocations: 12.05 kB / 0.9504 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.5238, allocations: 41.81 kB / 0.9504 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.755e-05/0.5239, allocations: 32.22 kB / 0.9505 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.5239, allocations: 6.688 kB / 0.9505 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.5239, allocations: 14.86 kB / 0.9505 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.5241, allocations: 66.19 kB / 0.9505 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.5241, allocations: 1.375 kB / 0.9505 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.98e-05/0.5242, allocations: 37.83 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.5242, allocations: 17.5 kB / 0.9506 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.5243, allocations: 16.91 kB / 0.9506 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.5244, allocations: 65.44 kB / 0.9507 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.5244, allocations: 5.281 kB / 0.9507 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5244, allocations: 0 / 0.9507 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.5244, allocations: 0 / 0.9507 GB, free: 8.434 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.0002183/0.5246, allocations: 365.5 kB / 0.951 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.5247, allocations: 12.5 kB / 0.951 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.625e-05/0.5247, allocations: 39.44 kB / 0.9511 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.5247, allocations: 9.031 kB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.501e-05/0.5248, allocations: 169.7 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.5248, allocations: 5.875 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.5248, allocations: 6.141 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.525, allocations: 178 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.525, allocations: 1.094 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.525, allocations: 10.58 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.5251, allocations: 26.69 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.578e-05/0.5251, allocations: 36.59 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.5255, allocations: 0.9022 MB / 0.9524 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.475e-05/0.5255, allocations: 166.6 kB / 0.9525 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.151e-05/0.5256, allocations: 84.14 kB / 0.9526 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.5256, allocations: 76.44 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.5256, allocations: 116.3 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.5256, allocations: 0 / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.033e-05/0.5257, allocations: 39.2 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.5257, allocations: 385.2 kB / 0.9532 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.769e-05/0.5258, allocations: 172.8 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.5258, allocations: 27.08 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.5259, allocations: 148 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.5259, allocations: 3.094 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.526, allocations: 59.56 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.526, allocations: 321.3 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/0.526, allocations: 27.47 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.5261, allocations: 226.1 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.5263, allocations: 201.3 kB / 0.9543 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5263, allocations: 5.25 kB / 0.9543 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002357/0.5265, allocations: 192.8 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5265, allocations: 7.625 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5265, allocations: 5 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5266, allocations: 10.47 kB / 0.9545 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5267, allocations: 41.92 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.5267, allocations: 7.031 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.5268, allocations: 21.88 kB / 0.9546 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.5268, allocations: 14.72 kB / 0.9546 GB, free: 4.445 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.5269, allocations: 215.5 kB / 0.9548 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.5269, allocations: 114.2 kB / 0.9549 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.5269, allocations: 125.2 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.5269, allocations: 185 kB / 0.9552 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/0.527, allocations: 177.4 kB / 0.9554 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.527, allocations: 177.3 kB / 0.9556 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.5271, allocations: 428.4 kB / 0.956 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.5271, allocations: 101 kB / 0.9561 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.5271, allocations: 106.1 kB / 0.9562 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/0.5272, allocations: 181.3 kB / 0.9564 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.5272, allocations: 189.3 kB / 0.9565 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/0.5272, allocations: 185.3 kB / 0.9567 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.785e-05/0.5272, allocations: 182.9 kB / 0.9569 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.927e-05/0.5273, allocations: 316 kB / 0.9572 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.5273, allocations: 184.7 kB / 0.9574 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.5274, allocations: 187.3 kB / 0.9575 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.684e-05/0.5274, allocations: 115.6 kB / 0.9577 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.5275, allocations: 181.5 kB / 0.9578 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5275, allocations: 105 kB / 0.9579 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.5275, allocations: 118 kB / 0.958 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5275, allocations: 0 / 0.958 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002847/0.5278, allocations: 26.75 kB / 0.9581 GB, free: 0.8086 MB / 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 (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.0002442/0.5281, allocations: 0.8348 MB / 0.9589 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.5282, allocations: 71.59 kB / 0.959 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5282, allocations: 5.594 kB / 0.959 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.5282, allocations: 0 / 0.959 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.5285, allocations: 464.2 kB / 0.9594 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.529, allocations: 282.9 kB / 0.9597 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.5292, allocations: 0.6899 MB / 0.9603 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001781/0.5294, allocations: 52.09 kB / 0.9604 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.5294, allocations: 30.3 kB / 0.9604 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5294, allocations: 0 / 0.9604 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.5461, allocations: 2.891 MB / 0.9632 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/7.09, allocations: 2.031 kB / 0.9632 GB, free: 13.01 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > 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