Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.001508/0.001508, allocations: 99.62 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.001916/0.001917, 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.585/1.585, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.126/3.126, allocations: 409.2 MB / 0.6838 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005705/0.0005707, allocations: 19.98 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.148, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001099/1.149, allocations: 0.5199 MB / 0.9814 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001368/1.15, allocations: 0.8702 MB / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/1.15, allocations: 0 / 0.9823 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/1.15, allocations: 3.938 kB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/1.151, allocations: 15.92 kB / 0.9823 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/1.151, allocations: 23.97 kB / 0.9823 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/1.151, allocations: 55.88 kB / 0.9823 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/1.151, allocations: 15.98 kB / 0.9824 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/1.151, allocations: 19.92 kB / 0.9824 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/1.151, allocations: 23.86 kB / 0.9824 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/1.151, allocations: 0 / 0.9824 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/1.151, allocations: 4 kB / 0.9824 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/1.151, allocations: 15.91 kB / 0.9824 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/1.151, allocations: 37.64 kB / 0.9825 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.749e-05/1.151, allocations: 55.88 kB / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.151, allocations: 0 / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/1.152, allocations: 0 / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.009e-06/1.152, allocations: 0 / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005871/1.152, allocations: 389.2 kB / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.152, allocations: 12.03 kB / 0.9829 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/1.152, allocations: 30.56 kB / 0.9829 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/1.152, allocations: 7.906 kB / 0.9829 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/1.153, allocations: 194.9 kB / 0.9831 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/1.153, allocations: 3.938 kB / 0.9831 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/1.153, allocations: 8 kB / 0.9831 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/1.153, allocations: 65.56 kB / 0.9832 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.153, allocations: 3.984 kB / 0.9832 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.153, allocations: 4 kB / 0.9832 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.153, allocations: 4 kB / 0.9832 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/1.153, allocations: 39.91 kB / 0.9832 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005826/1.154, allocations: 336.6 kB / 0.9836 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/1.154, allocations: 54.55 kB / 0.9836 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/1.154, allocations: 0 / 0.9836 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/1.154, allocations: 34.66 kB / 0.9836 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/1.154, allocations: 3.938 kB / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002868/1.154, allocations: 73.83 kB / 0.9837 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.154, allocations: 51.41 kB / 0.9838 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/1.154, allocations: 143.3 kB / 0.9839 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.154, allocations: 25.7 kB / 0.9839 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/1.154, allocations: 96.14 kB / 0.984 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/1.154, allocations: 7.906 kB / 0.984 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/1.154, allocations: 0 / 0.984 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.155, allocations: 322.8 kB / 0.9843 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/1.155, allocations: 15.98 kB / 0.9844 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/1.155, allocations: 16 kB / 0.9844 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.533e-05/1.155, allocations: 19.94 kB / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.155, allocations: 0 / 0.9844 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000161/1.155, allocations: 77.52 kB / 0.9845 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.155, allocations: 8 kB / 0.9845 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.155, allocations: 0 / 0.9845 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.155, allocations: 0 / 0.9845 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/1.155, allocations: 4 kB / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.155, allocations: 0 / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/1.155, allocations: 19.98 kB / 0.9845 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/1.155, allocations: 0 / 0.9845 GB, free: 2.324 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001132/1.155, allocations: 117.8 kB / 0.9846 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/1.155, allocations: 7.906 kB / 0.9846 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/1.156, allocations: 12.23 kB / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.156, allocations: 0 / 0.9846 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.156, allocations: 7.938 kB / 0.9846 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.156, allocations: 4 kB / 0.9846 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/1.156, allocations: 185.6 kB / 0.9848 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.156, allocations: 3.953 kB / 0.9848 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/1.156, allocations: 11.92 kB / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.156, allocations: 0 / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/1.156, allocations: 0 / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.156, allocations: 0 / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/1.156, allocations: 0 / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/1.156, allocations: 163.8 kB / 0.985 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/1.156, allocations: 89.02 kB / 0.9851 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/1.156, allocations: 3.984 kB / 0.9851 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.156, allocations: 19.92 kB / 0.9851 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/1.156, allocations: 7.984 kB / 0.9851 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/1.156, allocations: 8 kB / 0.9851 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.474e-05/1.157, allocations: 102.4 kB / 0.9852 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.157, allocations: 0 / 0.9852 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002383/1.157, allocations: 12 kB / 0.9852 GB, free: 1.492 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005533/1.157, allocations: 0.7006 MB / 0.9859 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001602/1.158, allocations: 35.98 kB / 0.9859 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.158, allocations: 0 / 0.9859 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/1.158, allocations: 23.92 kB / 0.986 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/1.158, allocations: 8 kB / 0.986 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/1.159, allocations: 0.5325 MB / 0.9865 GB, free: 116 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/1.159, allocations: 0.6965 MB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.423e-05/1.159, allocations: 4.188 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/1.16, allocations: 27.42 kB / 0.9872 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/1.16, allocations: 0 / 0.9872 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/1.174, allocations: 1.697 MB / 0.9889 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/1.175, allocations: 204.3 kB / 0.989 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.654, allocations: 0 / 0.989 GB, free: 13.59 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat does not exist to compare? outputFormat=mat