Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual",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.0008576/0.0008577, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005007/0.005007, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.168/1.168, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.244/2.244, allocations: 443.4 MB / 0.7176 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 12.25 kB / 0.8797 GB, free: 41.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2159, allocations: 155.2 MB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual): time 0.0007546/0.2167, allocations: 455.7 kB / 1.032 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007037/0.2174, allocations: 0.7968 MB / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.2174, allocations: 0 / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.2175, allocations: 0 / 1.032 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.2175, allocations: 7.922 kB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.476e-05/0.2176, allocations: 11.98 kB / 1.032 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.034e-05/0.2176, allocations: 43.86 kB / 1.033 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.514e-05/0.2177, allocations: 11.98 kB / 1.033 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.2178, allocations: 11.94 kB / 1.033 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.2178, allocations: 23.91 kB / 1.033 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2178, allocations: 0 / 1.033 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-06/0.2179, allocations: 0 / 1.033 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.2179, allocations: 11.94 kB / 1.033 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.2179, allocations: 33.62 kB / 1.033 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.472e-05/0.218, allocations: 44.14 kB / 1.033 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.218, allocations: 0 / 1.033 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.218, allocations: 0 / 1.033 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.218, allocations: 0 / 1.033 GB, free: 2.699 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004249/0.2184, allocations: 379.3 kB / 1.033 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2185, allocations: 8.031 kB / 1.033 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.2185, allocations: 34.69 kB / 1.033 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.027e-05/0.2186, allocations: 4.938 kB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.95e-05/0.2187, allocations: 180.2 kB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2187, allocations: 4.375 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.2187, allocations: 4.312 kB / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.2189, allocations: 82.22 kB / 1.033 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.2189, allocations: 3.938 kB / 1.033 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.2189, allocations: 4 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.219, allocations: 0 / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.2192, allocations: 87.92 kB / 1.033 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.2195, allocations: 268.9 kB / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.2197, allocations: 74.48 kB / 1.034 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2199, allocations: 48.91 kB / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.2199, allocations: 4 kB / 1.034 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.2199, allocations: 30.56 kB / 1.034 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2199, allocations: 0 / 1.034 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004994/0.2204, allocations: 165.5 kB / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.2205, allocations: 55.34 kB / 1.034 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.526e-05/0.2205, allocations: 113.8 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.2206, allocations: 25.7 kB / 1.034 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.2206, allocations: 84.14 kB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.2206, allocations: 7.906 kB / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.2206, allocations: 9.719 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.2207, allocations: 318.8 kB / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2209, allocations: 43.97 kB / 1.035 GB, free: 484 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.221, allocations: 39.95 kB / 1.035 GB, free: 444 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.2213, allocations: 92.73 kB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2213, allocations: 4 kB / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003118/0.2216, allocations: 121.9 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2217, allocations: 9.25 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2217, allocations: 0 / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.2217, allocations: 0 / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2218, allocations: 15.98 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.2218, allocations: 0 / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.2219, allocations: 31.83 kB / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2219, allocations: 0 / 1.035 GB, free: 160 kB / 0.7794 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 (lesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.38e-05/0.222, allocations: 123.2 kB / 1.035 GB, free: 28 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.222, allocations: 11.97 kB / 1.035 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.222, allocations: 7.906 kB / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.222, allocations: 0 / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2221, allocations: 0 / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2221, allocations: 4 kB / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.2222, allocations: 169.6 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2222, allocations: 4 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.2223, allocations: 27.91 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2223, allocations: 0 / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.2223, allocations: 0 / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2223, allocations: 4 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2224, allocations: 0 / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.2227, allocations: 219.3 kB / 1.035 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.2227, allocations: 81.11 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2228, allocations: 3.984 kB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2229, allocations: 15.98 kB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.2229, allocations: 8 kB / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.2229, allocations: 3.984 kB / 1.036 GB, free: 15.39 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.805e-05/0.223, allocations: 87.28 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.223, allocations: 4 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001967/0.2232, allocations: 4 kB / 1.036 GB, free: 15.3 MB / 0.795 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 (lesEqu.y) * Number of discrete states: 0 () * 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.0005594/0.2237, allocations: 0.7552 MB / 1.036 GB, free: 14.51 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.2241, allocations: 87.92 kB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2241, allocations: 0 / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.2242, allocations: 47.97 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.2245, allocations: 7.984 kB / 1.037 GB, free: 14.37 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.2248, allocations: 166.4 kB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.225, allocations: 0.6848 MB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.225, allocations: 3.984 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.2251, allocations: 11.44 kB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.2251, allocations: 0 / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.2455, allocations: 1.37 MB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.2457, allocations: 234.4 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/1.699, allocations: 0 / 1.039 GB, free: 11.98 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches