Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.0009503/0.0009506, allocations: 99.23 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.0009734/0.0009735, 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.494/1.494, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.52/2.52, allocations: 390.3 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 8 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7933, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002098/0.7955, allocations: 1.757 MB / 0.9553 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.7971, allocations: 1.138 MB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.7973, allocations: 6.438 kB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.7976, allocations: 140.2 kB / 0.9566 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.798, allocations: 135.9 kB / 0.9567 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.7984, allocations: 191.5 kB / 0.9569 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.7987, allocations: 216.9 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.7989, allocations: 58.95 kB / 0.9571 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.799, allocations: 134.5 kB / 0.9573 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.7992, allocations: 124.3 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.7992, allocations: 5.438 kB / 0.9574 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.7993, allocations: 43.12 kB / 0.9574 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.7994, allocations: 80.56 kB / 0.9575 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.7995, allocations: 72.39 kB / 0.9576 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.7998, allocations: 316 kB / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.7998, allocations: 0 / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7998, allocations: 0 / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.7998, allocations: 0 / 0.9579 GB, free: 4.844 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008761/0.8007, allocations: 0.6141 MB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.8007, allocations: 13.44 kB / 0.9585 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.8008, allocations: 41.64 kB / 0.9585 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.8008, allocations: 44.89 kB / 0.9586 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.8013, allocations: 377.8 kB / 0.9589 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.8014, allocations: 9.625 kB / 0.959 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.8014, allocations: 14.88 kB / 0.959 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.8016, allocations: 121.1 kB / 0.9591 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8016, allocations: 0 / 0.9591 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.8017, allocations: 1.312 kB / 0.9591 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.8017, allocations: 6.047 kB / 0.9591 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.8018, allocations: 65.72 kB / 0.9592 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.8027, allocations: 0.5501 MB / 0.9597 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.803, allocations: 127 kB / 0.9598 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.803, allocations: 5.359 kB / 0.9598 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.8032, allocations: 103.1 kB / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.8032, allocations: 0 / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004361/0.8037, allocations: 212.8 kB / 0.9601 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.8037, allocations: 52.44 kB / 0.9602 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.8043, allocations: 0.5297 MB / 0.9607 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.8044, allocations: 27.95 kB / 0.9607 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.8045, allocations: 187 kB / 0.9609 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.8045, allocations: 30.23 kB / 0.9609 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.8045, allocations: 4.906 kB / 0.9609 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.8046, allocations: 353.9 kB / 0.9613 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.8048, allocations: 103.4 kB / 0.9614 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.805, allocations: 134.2 kB / 0.9615 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.8052, allocations: 95.95 kB / 0.9616 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8052, allocations: 0 / 0.9616 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004677/0.8057, allocations: 316 kB / 0.9619 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8057, allocations: 9.5 kB / 0.9619 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.8057, allocations: 0 / 0.9619 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8058, allocations: 2.281 kB / 0.9619 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.806, allocations: 47.7 kB / 0.9619 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.806, allocations: 5.953 kB / 0.9619 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.8061, allocations: 25.02 kB / 0.962 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.8062, allocations: 11.91 kB / 0.962 GB, free: 1.703 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001623/0.8063, allocations: 192.4 kB / 0.9622 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.8064, allocations: 35.12 kB / 0.9622 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.8065, allocations: 42.08 kB / 0.9622 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8065, allocations: 2.312 kB / 0.9622 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.8065, allocations: 0 / 0.9622 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8065, allocations: 3.938 kB / 0.9622 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.8067, allocations: 311.9 kB / 0.9625 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8067, allocations: 1.031 kB / 0.9625 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.8068, allocations: 14.58 kB / 0.9626 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8068, allocations: 0 / 0.9626 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.8068, allocations: 6.844 kB / 0.9626 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8068, allocations: 0 / 0.9626 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8068, allocations: 1.125 kB / 0.9626 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.8071, allocations: 194 kB / 0.9627 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.8072, allocations: 119.3 kB / 0.9629 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.8073, allocations: 6.25 kB / 0.9629 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.8074, allocations: 22.98 kB / 0.9629 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.8075, allocations: 14.72 kB / 0.9629 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.8075, allocations: 8.844 kB / 0.9629 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003292/0.8078, allocations: 326.5 kB / 0.9632 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8078, allocations: 0 / 0.9632 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003035/0.8081, allocations: 63.25 kB / 0.9633 GB, free: 0.6992 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: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001301/0.8094, allocations: 1.06 MB / 0.9643 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003837/0.8098, allocations: 181 kB / 0.9645 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8098, allocations: 0 / 0.9645 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.81, allocations: 55.83 kB / 0.9645 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.8104, allocations: 92.58 kB / 0.9646 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.8118, allocations: 1.208 MB / 0.9658 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.8123, allocations: 0.8035 MB / 0.9666 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001448/0.8124, allocations: 53.66 kB / 0.9666 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.8126, allocations: 114.8 kB / 0.9668 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.8126, allocations: 3.938 kB / 0.9668 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.8328, allocations: 7.012 MB / 0.9736 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/0.8331, allocations: 224.2 kB / 0.9738 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.575, allocations: 4 kB / 0.9738 GB, free: 10.37 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat does not exist to compare? outputFormat=mat