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: "" <> 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.0009398/0.0009397, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005746/0.005746, allocations: 171.1 kB / 16.27 MB, free: 6.652 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.128/2.128, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.000298, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/0.5538, allocations: 142.4 MB / 0.9552 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0005627/0.5544, allocations: 337.7 kB / 0.9555 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.5547, allocations: 71.09 kB / 0.9556 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.5547, allocations: 0 / 0.9556 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.5548, allocations: 3.938 kB / 0.9556 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.5548, allocations: 12.27 kB / 0.9556 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.555, allocations: 33.3 kB / 0.9556 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.5551, allocations: 29.8 kB / 0.9556 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.5551, allocations: 1.375 kB / 0.9556 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.5551, allocations: 19.38 kB / 0.9557 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.5553, allocations: 63.03 kB / 0.9557 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.5553, allocations: 8.969 kB / 0.9557 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.5554, allocations: 35.92 kB / 0.9558 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.5554, allocations: 17.45 kB / 0.9558 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.5555, allocations: 56.06 kB / 0.9558 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.745e-05/0.5556, allocations: 66.22 kB / 0.9559 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5556, allocations: 0 / 0.9559 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5556, allocations: 0 / 0.9559 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.5556, allocations: 0 / 0.9559 GB, free: 7.031 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.0002064/0.5558, allocations: 340 kB / 0.9562 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.5559, allocations: 9.875 kB / 0.9562 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.5559, allocations: 46.55 kB / 0.9563 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.5559, allocations: 9.531 kB / 0.9563 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.335e-05/0.556, allocations: 169.5 kB / 0.9565 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.556, allocations: 9.766 kB / 0.9565 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.556, allocations: 1.531 kB / 0.9565 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.5562, allocations: 184 kB / 0.9566 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.5562, allocations: 1.062 kB / 0.9566 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.5562, allocations: 6.203 kB / 0.9566 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.5563, allocations: 22.27 kB / 0.9567 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.807e-05/0.5563, allocations: 49.42 kB / 0.9567 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.5567, allocations: 0.8978 MB / 0.9576 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.498e-05/0.5568, allocations: 170.4 kB / 0.9578 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.5568, allocations: 81.45 kB / 0.9578 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.5568, allocations: 75.28 kB / 0.9579 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.5568, allocations: 115.9 kB / 0.958 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5568, allocations: 0 / 0.958 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.751e-05/0.5569, allocations: 39.02 kB / 0.9581 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.557, allocations: 385.7 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.5571, allocations: 169 kB / 0.9586 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.5571, allocations: 30.89 kB / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.5571, allocations: 148.9 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-06/0.5571, allocations: 4.969 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.5572, allocations: 23.97 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.5572, allocations: 325.8 kB / 0.9591 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.5573, allocations: 22.95 kB / 0.9591 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.5574, allocations: 218 kB / 0.9593 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.5575, allocations: 204.4 kB / 0.9595 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5575, allocations: 2.062 kB / 0.9595 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002422/0.5578, allocations: 193 kB / 0.9597 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5578, allocations: 7.156 kB / 0.9597 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5578, allocations: 3.688 kB / 0.9597 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5578, allocations: 15.69 kB / 0.9597 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.5579, allocations: 41.36 kB / 0.9598 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5579, allocations: 14.38 kB / 0.9598 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.558, allocations: 24.34 kB / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.558, allocations: 12.5 kB / 0.9598 GB, free: 3.062 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 7.468e-05/0.5581, allocations: 215.8 kB / 0.96 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.5582, allocations: 114.7 kB / 0.9601 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.417e-05/0.5582, allocations: 120.2 kB / 0.9602 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.5582, allocations: 186 kB / 0.9604 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/0.5582, allocations: 180.2 kB / 0.9606 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.5583, allocations: 177.8 kB / 0.9608 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.5584, allocations: 423.7 kB / 0.9612 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.5584, allocations: 102.2 kB / 0.9613 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.5584, allocations: 101.8 kB / 0.9614 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.5585, allocations: 189 kB / 0.9615 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.5585, allocations: 177.4 kB / 0.9617 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.008e-05/0.5585, allocations: 191.1 kB / 0.9619 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.902e-05/0.5585, allocations: 181.4 kB / 0.9621 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.869e-05/0.5586, allocations: 315.9 kB / 0.9624 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.5586, allocations: 184.9 kB / 0.9625 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.5587, allocations: 182.9 kB / 0.9627 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.5588, allocations: 111.6 kB / 0.9628 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.5588, allocations: 181.3 kB / 0.963 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.5589, allocations: 106.2 kB / 0.9631 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.671e-05/0.5589, allocations: 123.1 kB / 0.9632 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5589, allocations: 0 / 0.9632 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002824/0.5592, allocations: 26.5 kB / 0.9632 GB, free: 15.43 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 (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.000353/0.5596, allocations: 0.828 MB / 0.964 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.5597, allocations: 79.3 kB / 0.9641 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5597, allocations: 1.094 kB / 0.9641 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.5597, allocations: 0 / 0.9641 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.5601, allocations: 0.5362 MB / 0.9646 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.5605, allocations: 287.6 kB / 0.9649 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.5607, allocations: 0.6923 MB / 0.9656 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.5609, allocations: 55.86 kB / 0.9657 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.5609, allocations: 20.56 kB / 0.9657 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.5609, allocations: 1.688 kB / 0.9657 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01204/0.573, allocations: 2.809 MB / 0.9684 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.5732, allocations: 210.7 kB / 0.9686 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.149, allocations: 0 / 0.9686 GB, free: 11.45 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