Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001115/0.001115, allocations: 198.1 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.326/2.326, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.56 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2317, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001731/0.2335, allocations: 0.8779 MB / 1.053 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007556/0.2342, allocations: 0.878 MB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.2343, allocations: 0 / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.2344, allocations: 15.86 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.931e-05/0.2345, allocations: 3.938 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.2346, allocations: 23.98 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.2347, allocations: 71.72 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.2348, allocations: 31.97 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.2349, allocations: 23.92 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.2349, allocations: 27.8 kB / 1.054 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2349, allocations: 4 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.235, allocations: 0 / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.235, allocations: 15.98 kB / 1.054 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.235, allocations: 27.8 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.959e-05/0.2351, allocations: 83.84 kB / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2351, allocations: 0 / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.61e-07/0.2351, allocations: 0 / 1.054 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.207e-06/0.2351, allocations: 0 / 1.054 GB, free: 6.094 MB / 0.8106 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.0004219/0.2356, allocations: 387.1 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2356, allocations: 15.97 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.2356, allocations: 38.75 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.2357, allocations: 8.844 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.2358, allocations: 201.3 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.2358, allocations: 384 / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.2359, allocations: 8.359 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.236, allocations: 66.17 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.236, allocations: 3.938 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.236, allocations: 0 / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.236, allocations: 0 / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.721e-05/0.2361, allocations: 35.98 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.2365, allocations: 320.6 kB / 1.055 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.2367, allocations: 46.56 kB / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.672e-05/0.2367, allocations: 21 kB / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.2367, allocations: 0 / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2368, allocations: 34.56 kB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.2368, allocations: 0 / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002108/0.237, allocations: 77.61 kB / 1.055 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.237, allocations: 51.41 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.2371, allocations: 139.2 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2371, allocations: 25.7 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.2372, allocations: 104 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.2372, allocations: 3.906 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.2372, allocations: 21.7 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.2373, allocations: 322.8 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.874e-05/0.2374, allocations: 15.98 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.2374, allocations: 15.98 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.2375, allocations: 32.78 kB / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2375, allocations: 0 / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001174/0.2376, allocations: 65.59 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.2376, allocations: 7.938 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2376, allocations: 3.984 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.2376, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.2377, allocations: 8 kB / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.2377, allocations: 0 / 1.056 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.2378, allocations: 23.92 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2378, allocations: 3.938 kB / 1.056 GB, free: 3.793 MB / 0.8106 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/0.2379, allocations: 113.8 kB / 1.056 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.2379, allocations: 7.906 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.2379, allocations: 12.56 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2379, allocations: 4 kB / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2379, allocations: 0 / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.238, allocations: 7.922 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.2381, allocations: 185.6 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2381, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.2382, allocations: 4 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2382, allocations: 0 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2382, allocations: 7.984 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2382, allocations: 3.984 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2382, allocations: 0 / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.2383, allocations: 159.4 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.2384, allocations: 85.11 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2384, allocations: 0 / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.2385, allocations: 11.98 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.2385, allocations: 7.984 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2385, allocations: 0 / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.2386, allocations: 108.8 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.172e-06/0.2386, allocations: 0 / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002047/0.2388, allocations: 15.88 kB / 1.057 GB, free: 2.977 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003727/0.2392, allocations: 0.7007 MB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2393, allocations: 27.98 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2393, allocations: 4 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.944e-05/0.2394, allocations: 19.92 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.2396, allocations: 19 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2407, allocations: 1.382 MB / 1.059 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.2409, allocations: 0.6926 MB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.241, allocations: 4 kB / 1.06 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.241, allocations: 27.52 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of SimCode: time 1.874e-06/0.241, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.411/1.652, allocations: 1.734 MB / 1.061 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/1.652, allocations: 211.7 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/3.213, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches