Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.625/1.625, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 170.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007678/0.0007678, allocations: 89.39 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.362e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1982, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7398/0.9381, allocations: 131.3 MB / 1.02 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.9383, allocations: 72.02 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001575/0.9399, allocations: 0.6255 MB / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9399, allocations: 0 / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9399, allocations: 4 kB / 1.021 GB, free: 2.781 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003828/0.9403, allocations: 345.3 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.9403, allocations: 8.031 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.9404, allocations: 34.5 kB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.9404, allocations: 4 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.9406, allocations: 174.6 kB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.9406, allocations: 0 / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.9406, allocations: 4 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.9407, allocations: 37.12 kB / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.9407, allocations: 0 / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.9408, allocations: 0 / 1.021 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9408, allocations: 4 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.9408, allocations: 11.81 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.9412, allocations: 275.4 kB / 1.022 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.9413, allocations: 22.58 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.9413, allocations: 16.73 kB / 1.022 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.9414, allocations: 0 / 1.022 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.9414, allocations: 30.56 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.9414, allocations: 0 / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.9415, allocations: 47.67 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.9416, allocations: 55.41 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.255e-05/0.9417, allocations: 92.06 kB / 1.022 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.9417, allocations: 29.73 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.9417, allocations: 83.27 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.9418, allocations: 7.906 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.9418, allocations: 0 / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.9419, allocations: 322.2 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.9419, allocations: 4 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.9419, allocations: 6.688 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.566e-05/0.942, allocations: 0 / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.942, allocations: 8 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.734e-05/0.9421, allocations: 44.27 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.9421, allocations: 4 kB / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.9421, allocations: 0 / 1.022 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.9421, allocations: 3.938 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.9422, allocations: 11.98 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.9422, allocations: 0 / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.9423, allocations: 16.02 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.9423, allocations: 4 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.885e-05/0.9424, allocations: 104.9 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.9424, allocations: 0 / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.9424, allocations: 10.77 kB / 1.023 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.9425, allocations: 4 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.9425, allocations: 3.938 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9425, allocations: 3.984 kB / 1.023 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.9426, allocations: 161 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9426, allocations: 4 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.9427, allocations: 11.98 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9427, allocations: 0 / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.9427, allocations: 0.875 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.9427, allocations: 0 / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9427, allocations: 0 / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.9429, allocations: 146.1 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.9429, allocations: 89.06 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.943, allocations: 4 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.943, allocations: 14.7 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.9431, allocations: 2.875 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.9431, allocations: 0 / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.9432, allocations: 82.41 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9432, allocations: 0 / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000198/0.9434, allocations: 4 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004489/0.9438, allocations: 0.676 MB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.9439, allocations: 15.31 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9439, allocations: 7.438 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.9439, allocations: 8.094 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.9441, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.9444, allocations: 94.02 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.9447, allocations: 0.6809 MB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.9448, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.9448, allocations: 11.38 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of SimCode: time 4e-07/0.9448, allocations: 3.938 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.9564, allocations: 1.083 MB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.9568, allocations: 172.6 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.434, allocations: 0 / 1.026 GB, free: 13.51 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)