Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold",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.0009385/0.0009385, 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.001021/0.001021, allocations: 177.3 kB / 15.95 MB, free: 216 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.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.355/2.355, allocations: 390.3 MB / 0.6653 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003831, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7702/0.7706, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.001106/0.7717, allocations: 399.6 kB / 0.954 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.7732, allocations: 0.7874 MB / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.7733, allocations: 3.938 kB / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.7733, allocations: 0 / 0.9548 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.7735, allocations: 5.156 kB / 0.9548 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.608e-05/0.7736, allocations: 6.125 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.152e-05/0.7737, allocations: 20.03 kB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.7738, allocations: 2.469 kB / 0.9548 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.7739, allocations: 6.578 kB / 0.9548 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.774, allocations: 10.41 kB / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.774, allocations: 2.062 kB / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.7741, allocations: 0.7812 kB / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.7741, allocations: 4.891 kB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.7741, allocations: 30.73 kB / 0.9549 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.015e-05/0.7742, allocations: 11.84 kB / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.7742, allocations: 0 / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.98e-06/0.7743, allocations: 4 kB / 0.9549 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7743, allocations: 0 / 0.9549 GB, free: 7.09 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.0005746/0.7748, allocations: 344.2 kB / 0.9552 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.7749, allocations: 17.94 kB / 0.9552 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.775, allocations: 30.56 kB / 0.9552 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.775, allocations: 6.047 kB / 0.9552 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.7752, allocations: 172 kB / 0.9554 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.7752, allocations: 1.781 kB / 0.9554 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.7752, allocations: 1.531 kB / 0.9554 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.7755, allocations: 57.31 kB / 0.9555 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.7755, allocations: 0 / 0.9555 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.7755, allocations: 0 / 0.9555 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.7755, allocations: 1.344 kB / 0.9555 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.7757, allocations: 48.02 kB / 0.9555 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.7763, allocations: 263.4 kB / 0.9558 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.7765, allocations: 40.44 kB / 0.9558 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.7765, allocations: 4 kB / 0.9558 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.7765, allocations: 31.66 kB / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.7765, allocations: 0 / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005348/0.7771, allocations: 103.3 kB / 0.9559 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.7772, allocations: 51.41 kB / 0.956 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.7773, allocations: 108.4 kB / 0.9561 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.7773, allocations: 25.7 kB / 0.9561 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.7774, allocations: 89.42 kB / 0.9562 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.7774, allocations: 4.844 kB / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.7774, allocations: 0 / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7776, allocations: 316 kB / 0.9565 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.7777, allocations: 22.62 kB / 0.9565 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.7778, allocations: 25.95 kB / 0.9566 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.7779, allocations: 18.42 kB / 0.9566 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7779, allocations: 0 / 0.9566 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000282/0.7782, allocations: 81.19 kB / 0.9566 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.7782, allocations: 6.344 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.7782, allocations: 1 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.7783, allocations: 0 / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.7785, allocations: 15.44 kB / 0.9567 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.7785, allocations: 0 / 0.9567 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.7786, allocations: 11.94 kB / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.7786, allocations: 1.531 kB / 0.9567 GB, free: 5.266 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 (lesEquThr.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 0.0001176/0.7787, allocations: 115.3 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.7787, allocations: 1.094 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.483e-05/0.7788, allocations: 4.812 kB / 0.9568 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7788, allocations: 0 / 0.9568 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.7788, allocations: 7.953 kB / 0.9568 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.7788, allocations: 1.406 kB / 0.9568 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.779, allocations: 157.5 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.779, allocations: 7.984 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.7791, allocations: 8.625 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7791, allocations: 0 / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.7791, allocations: 0 / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7791, allocations: 1.406 kB / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7791, allocations: 0 / 0.957 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.7795, allocations: 184 kB / 0.9572 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.7795, allocations: 78.17 kB / 0.9572 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.7796, allocations: 5.203 kB / 0.9572 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.7797, allocations: 6.562 kB / 0.9572 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/0.7798, allocations: 13.11 kB / 0.9573 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.7798, allocations: 4.938 kB / 0.9573 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.7798, allocations: 79.19 kB / 0.9573 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7798, allocations: 0 / 0.9573 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002666/0.7801, allocations: 7.734 kB / 0.9573 GB, free: 4.57 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 (lesEquThr.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.0006823/0.7808, allocations: 0.7047 MB / 0.958 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.7811, allocations: 50.95 kB / 0.9581 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7811, allocations: 1.156 kB / 0.9581 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.7812, allocations: 23.92 kB / 0.9581 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.7815, allocations: 3.656 kB / 0.9581 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.782, allocations: 139.5 kB / 0.9582 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.7822, allocations: 0.6778 MB / 0.9589 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.7822, allocations: 1.531 kB / 0.9589 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.7823, allocations: 15.42 kB / 0.9589 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.7823, allocations: 5.281 kB / 0.9589 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.795, allocations: 1.081 MB / 0.96 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/0.7952, allocations: 211.7 kB / 0.9602 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.409, allocations: 1.156 kB / 0.9602 GB, free: 2.285 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat