Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.996/1.996, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008967/0.0008968, allocations: 173.8 kB / 491.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008123/0.0008123, allocations: 91.88 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.023e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2185, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7141/0.9326, allocations: 149 MB / 1.358 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.9329, allocations: 73.41 kB / 1.358 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003309/0.9362, allocations: 1.178 MB / 1.359 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9363, allocations: 0 / 1.359 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.9363, allocations: 3.844 kB / 1.359 GB, free: 32.93 MB / 0.8386 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.0002418/0.9365, allocations: 347.9 kB / 1.36 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9366, allocations: 7.688 kB / 1.36 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.9366, allocations: 3.906 kB / 1.36 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.282e-05/0.9367, allocations: 176.1 kB / 1.36 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.9367, allocations: 0 / 1.36 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.9367, allocations: 4 kB / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.203e-05/0.9368, allocations: 34.33 kB / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.937, allocations: 158.3 kB / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.937, allocations: 0 / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.937, allocations: 0 / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.937, allocations: 23.55 kB / 1.36 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.9376, allocations: 0.8677 MB / 1.361 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.618e-05/0.9376, allocations: 169.9 kB / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.9377, allocations: 83.98 kB / 1.361 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.9377, allocations: 75.28 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.9377, allocations: 109.6 kB / 1.361 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.9377, allocations: 0 / 1.361 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.865e-05/0.9378, allocations: 46.72 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.9379, allocations: 312.4 kB / 1.362 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.938, allocations: 151.8 kB / 1.362 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.938, allocations: 29.55 kB / 1.362 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.9381, allocations: 143.6 kB / 1.362 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.9381, allocations: 4.609 kB / 1.362 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.9381, allocations: 0 / 1.362 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.9382, allocations: 320.4 kB / 1.362 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.9382, allocations: 29.88 kB / 1.362 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.673e-05/0.9383, allocations: 211.3 kB / 1.362 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.599e-05/0.9384, allocations: 58.73 kB / 1.362 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.9384, allocations: 0 / 1.362 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002214/0.9386, allocations: 162.9 kB / 1.363 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9387, allocations: 7.625 kB / 1.363 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.9387, allocations: 3.875 kB / 1.363 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.9387, allocations: 7.688 kB / 1.363 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.9388, allocations: 43.08 kB / 1.363 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9388, allocations: 8.344 kB / 1.363 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.9389, allocations: 19.38 kB / 1.363 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.9389, allocations: 15.66 kB / 1.363 GB, free: 29.68 MB / 0.8386 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 () * 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 8.726e-05/0.939, allocations: 197 kB / 1.363 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.198e-05/0.9391, allocations: 143.9 kB / 1.363 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.9391, allocations: 116.5 kB / 1.363 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.9392, allocations: 117.7 kB / 1.363 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.495e-05/0.9392, allocations: 185.8 kB / 1.363 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.67e-05/0.9393, allocations: 180.2 kB / 1.364 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/0.9393, allocations: 177.8 kB / 1.364 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.9395, allocations: 400.4 kB / 1.364 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.9395, allocations: 106.5 kB / 1.364 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.9396, allocations: 101 kB / 1.364 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.407e-05/0.9396, allocations: 185.8 kB / 1.365 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.9397, allocations: 180.2 kB / 1.365 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.533e-05/0.9397, allocations: 178.9 kB / 1.365 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.105e-05/0.9398, allocations: 179.6 kB / 1.365 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.9399, allocations: 316.9 kB / 1.365 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.9399, allocations: 187.7 kB / 1.366 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.94, allocations: 190 kB / 1.366 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.9401, allocations: 101 kB / 1.366 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.9402, allocations: 182.1 kB / 1.366 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.9402, allocations: 109 kB / 1.366 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.9403, allocations: 112.5 kB / 1.366 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9403, allocations: 0 / 1.366 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002701/0.9405, allocations: 22.69 kB / 1.366 GB, free: 26.02 MB / 0.8386 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 () * 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.0003742/0.9409, allocations: 0.8328 MB / 1.367 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.9411, allocations: 66.67 kB / 1.367 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9411, allocations: 3.906 kB / 1.367 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.9411, allocations: 0 / 1.367 GB, free: 25.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.9413, allocations: 0.5316 MB / 1.368 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.9417, allocations: 230.5 kB / 1.368 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.9419, allocations: 0.7037 MB / 1.368 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00015/0.9421, allocations: 59.92 kB / 1.369 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.9421, allocations: 23.09 kB / 1.369 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.9421, allocations: 0 / 1.369 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.9617, allocations: 2.47 MB / 1.371 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.9619, allocations: 152.1 kB / 1.371 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/2.389, allocations: 0 / 1.371 GB, free: 23.38 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat does not exist to compare? outputFormat=mat