Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold",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.00126/0.00126, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001717/0.001717, allocations: 177.3 kB / 15.94 MB, free: 228 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.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.407/2.407, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 11.98 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7401, allocations: 142.3 MB / 0.9536 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold): time 0.0008216/0.7409, allocations: 399.8 kB / 0.954 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006911/0.7416, allocations: 0.7869 MB / 0.9548 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.7417, allocations: 1.469 kB / 0.9548 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.7417, allocations: 0 / 0.9548 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.7418, allocations: 3.938 kB / 0.9548 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.478e-05/0.7418, allocations: 13.39 kB / 0.9548 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.7419, allocations: 12.77 kB / 0.9548 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.742, allocations: 6.297 kB / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.742, allocations: 7.5 kB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/0.7421, allocations: 10.42 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.7421, allocations: 1.219 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-06/0.7421, allocations: 1.062 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.7421, allocations: 1.25 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.7421, allocations: 30.83 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.72e-05/0.7422, allocations: 18.88 kB / 0.9549 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.7422, allocations: 4 kB / 0.9549 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7422, allocations: 1.188 kB / 0.9549 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.7422, allocations: 0 / 0.9549 GB, free: 7.113 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003456/0.7426, allocations: 343.8 kB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7426, allocations: 13.94 kB / 0.9552 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.7427, allocations: 34.5 kB / 0.9552 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.7427, allocations: 9.203 kB / 0.9553 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.398e-05/0.7428, allocations: 170 kB / 0.9554 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.7428, allocations: 0 / 0.9554 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.7428, allocations: 1.375 kB / 0.9554 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.743, allocations: 54.83 kB / 0.9555 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.743, allocations: 0 / 0.9555 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.743, allocations: 0 / 0.9555 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.743, allocations: 0 / 0.9555 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.7432, allocations: 52.44 kB / 0.9555 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.7434, allocations: 255 kB / 0.9558 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.7436, allocations: 48.39 kB / 0.9558 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.7436, allocations: 1 kB / 0.9558 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.254e-05/0.7436, allocations: 31.41 kB / 0.9558 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.844e-06/0.7436, allocations: 0 / 0.9558 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003559/0.744, allocations: 110.6 kB / 0.9559 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.744, allocations: 52.81 kB / 0.956 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.088e-05/0.7441, allocations: 99.42 kB / 0.9561 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.7441, allocations: 29.83 kB / 0.9561 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.7441, allocations: 85.12 kB / 0.9562 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.7441, allocations: 5.25 kB / 0.9562 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.7441, allocations: 0 / 0.9562 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.7442, allocations: 316.3 kB / 0.9565 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.524e-05/0.7443, allocations: 18.45 kB / 0.9565 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.685e-05/0.7444, allocations: 25.98 kB / 0.9566 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.156e-05/0.7444, allocations: 21.78 kB / 0.9566 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7445, allocations: 0 / 0.9566 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.7446, allocations: 77.64 kB / 0.9566 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7447, allocations: 4.906 kB / 0.9566 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7447, allocations: 1.062 kB / 0.9567 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.7447, allocations: 0 / 0.9567 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.7448, allocations: 15.56 kB / 0.9567 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7448, allocations: 0 / 0.9567 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.7449, allocations: 15.64 kB / 0.9567 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.7449, allocations: 5.344 kB / 0.9567 GB, free: 5.289 MB / 0.7169 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 (greEquThr.y) * Number of discrete states: 0 () * Number of clocked 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 5.548e-05/0.7449, allocations: 107.3 kB / 0.9568 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.745, allocations: 1.469 kB / 0.9568 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.745, allocations: 4.656 kB / 0.9568 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.745, allocations: 0 / 0.9568 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.745, allocations: 3.953 kB / 0.9568 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.745, allocations: 1.156 kB / 0.9568 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.7451, allocations: 169.5 kB / 0.957 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.7451, allocations: 1.812 kB / 0.957 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.7452, allocations: 10.48 kB / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.7452, allocations: 0 / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.7452, allocations: 1.062 kB / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7452, allocations: 256 / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7452, allocations: 1.031 kB / 0.957 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.7454, allocations: 183.9 kB / 0.9571 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.7455, allocations: 82.11 kB / 0.9572 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.7455, allocations: 5.031 kB / 0.9572 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.7456, allocations: 18.8 kB / 0.9573 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.7456, allocations: 1.406 kB / 0.9573 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.7456, allocations: 1.438 kB / 0.9573 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.439e-05/0.7456, allocations: 83.2 kB / 0.9573 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7457, allocations: 0 / 0.9573 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002135/0.7459, allocations: 8.109 kB / 0.9573 GB, free: 4.594 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: 1 (greEquThr.y) * Number of discrete states: 0 () * Number of clocked 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.0003831/0.7463, allocations: 0.7004 MB / 0.958 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.7465, allocations: 55.22 kB / 0.9581 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7465, allocations: 0 / 0.9581 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.7466, allocations: 20.92 kB / 0.9581 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.7468, allocations: 6.547 kB / 0.9581 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.7471, allocations: 143.6 kB / 0.9582 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.975e-05/0.7472, allocations: 0.6791 MB / 0.9589 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.7473, allocations: 0.8438 kB / 0.9589 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.7473, allocations: 8.5 kB / 0.9589 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7473, allocations: 0 / 0.9589 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.7579, allocations: 1.084 MB / 0.96 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.758, allocations: 212.2 kB / 0.9602 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.353, allocations: 1.75 kB / 0.9602 GB, free: 2.316 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat does not exist to compare? outputFormat=mat