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.000962/0.0009619, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001036/0.001036, allocations: 168.7 kB / 15.95 MB, free: 204 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.466/1.466, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.617/2.617, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 16 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8036, allocations: 146.8 MB / 0.9812 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001142/0.8048, allocations: 0.5159 MB / 0.9817 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.8062, allocations: 0.8625 MB / 0.9825 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.8063, allocations: 3.938 kB / 0.9825 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.8064, allocations: 3.938 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.842e-05/0.8065, allocations: 15.92 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.8067, allocations: 23.91 kB / 0.9826 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.8068, allocations: 59.84 kB / 0.9826 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.8069, allocations: 19.98 kB / 0.9826 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.807, allocations: 23.86 kB / 0.9827 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.8071, allocations: 27.84 kB / 0.9827 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.8071, allocations: 4 kB / 0.9827 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.8072, allocations: 0 / 0.9827 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.8072, allocations: 7.938 kB / 0.9827 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.8072, allocations: 33.64 kB / 0.9827 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.818e-05/0.8073, allocations: 63.84 kB / 0.9828 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8073, allocations: 0 / 0.9828 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8073, allocations: 0 / 0.9828 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.8074, allocations: 0 / 0.9828 GB, free: 4.605 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.0005761/0.8079, allocations: 389.2 kB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.808, allocations: 12.03 kB / 0.9832 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.8081, allocations: 42.48 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.8081, allocations: 7.906 kB / 0.9832 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.8083, allocations: 188.4 kB / 0.9834 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.8084, allocations: 4 kB / 0.9834 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.8084, allocations: 4 kB / 0.9834 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.8086, allocations: 77.5 kB / 0.9835 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8086, allocations: 0 / 0.9835 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.8086, allocations: 4 kB / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.8086, allocations: 0 / 0.9835 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.8087, allocations: 31.98 kB / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.8093, allocations: 332.6 kB / 0.9838 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.8095, allocations: 54.56 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.8095, allocations: 28.98 kB / 0.9839 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.8095, allocations: 0 / 0.9839 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8096, allocations: 34.59 kB / 0.9839 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.8096, allocations: 0 / 0.9839 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002676/0.8099, allocations: 77.67 kB / 0.984 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.8099, allocations: 55.39 kB / 0.9841 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.81, allocations: 135 kB / 0.9842 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.8101, allocations: 29.7 kB / 0.9842 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.8101, allocations: 96.12 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.8102, allocations: 11.89 kB / 0.9843 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.8102, allocations: 0 / 0.9843 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8103, allocations: 318.8 kB / 0.9846 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.8103, allocations: 23.98 kB / 0.9847 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.8104, allocations: 12 kB / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.8105, allocations: 23.92 kB / 0.9847 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8105, allocations: 0 / 0.9847 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.8106, allocations: 69.58 kB / 0.9848 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8106, allocations: 8 kB / 0.9848 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.8107, allocations: 0 / 0.9848 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.8107, allocations: 4 kB / 0.9848 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.8107, allocations: 4 kB / 0.9848 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.8108, allocations: 0 / 0.9848 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.8108, allocations: 11.98 kB / 0.9848 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.8109, allocations: 4 kB / 0.9848 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 9.332e-05/0.811, allocations: 125.7 kB / 0.9849 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.811, allocations: 7.891 kB / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.811, allocations: 12.25 kB / 0.9849 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.811, allocations: 0 / 0.9849 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8111, allocations: 0 / 0.9849 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.8111, allocations: 3.938 kB / 0.9849 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.8113, allocations: 185.5 kB / 0.9851 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.8113, allocations: 4 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.8113, allocations: 11.92 kB / 0.9851 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8113, allocations: 4 kB / 0.9851 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.8114, allocations: 4 kB / 0.9851 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8114, allocations: 0 / 0.9851 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8114, allocations: 0 / 0.9851 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.8116, allocations: 159.4 kB / 0.9853 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.8116, allocations: 84.97 kB / 0.9854 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.8116, allocations: 4 kB / 0.9854 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.8117, allocations: 15.98 kB / 0.9854 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.8118, allocations: 11.98 kB / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.8118, allocations: 3.984 kB / 0.9854 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.543e-05/0.8119, allocations: 105 kB / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.014e-06/0.8119, allocations: 0 / 0.9855 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002237/0.8121, allocations: 11.94 kB / 0.9855 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.0007073/0.8128, allocations: 0.701 MB / 0.9862 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.813, allocations: 39.97 kB / 0.9862 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.813, allocations: 4 kB / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.8131, allocations: 19.94 kB / 0.9863 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.8134, allocations: 11.98 kB / 0.9863 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.8144, allocations: 0.5369 MB / 0.9868 GB, free: 104 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.8147, allocations: 0.6926 MB / 0.9875 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.145e-05/0.8147, allocations: 8.188 kB / 0.9875 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.8148, allocations: 27.42 kB / 0.9875 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.8148, allocations: 0 / 0.9875 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.8283, allocations: 1.71 MB / 0.9892 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.8285, allocations: 206.6 kB / 0.9894 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.641, allocations: 0 / 0.9894 GB, free: 13.58 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