Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001757/0.001757, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001707/0.001707, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.394/2.394, allocations: 469.8 MB / 0.7421 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 74.72 kB / 0.9082 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2254, allocations: 159.2 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001666/0.2271, allocations: 0.7591 MB / 1.064 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.2279, allocations: 0.8351 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.228, allocations: 0 / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.228, allocations: 4 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.2281, allocations: 11.92 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.2282, allocations: 15.98 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.2283, allocations: 47.84 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.2283, allocations: 12 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.519e-05/0.2284, allocations: 23.91 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.2285, allocations: 27.91 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2285, allocations: 4 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.2285, allocations: 7.938 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.2285, allocations: 8 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.2286, allocations: 23.86 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.989e-05/0.2286, allocations: 47.84 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2286, allocations: 0 / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2286, allocations: 0 / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2287, allocations: 0 / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000447/0.2291, allocations: 351.7 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2291, allocations: 8.031 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.2292, allocations: 42.69 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.2292, allocations: 12.84 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2293, allocations: 168.3 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2294, allocations: 384 / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.2294, allocations: 8.375 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.2296, allocations: 73.58 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.2296, allocations: 0 / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2296, allocations: 3.984 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.2296, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.2298, allocations: 59.92 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.2302, allocations: 288.7 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.2303, allocations: 66.56 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.2304, allocations: 28.89 kB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.2305, allocations: 3.938 kB / 1.066 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2305, allocations: 34.56 kB / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 3.867e-06/0.2305, allocations: 0 / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003659/0.2309, allocations: 109.5 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2309, allocations: 51.41 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.231, allocations: 117.8 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.231, allocations: 25.7 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.2311, allocations: 88.05 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.2311, allocations: 7.906 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.2311, allocations: 21.7 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2313, allocations: 314.8 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.2314, allocations: 23.97 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.2314, allocations: 23.98 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.2316, allocations: 60.75 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2316, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002059/0.2318, allocations: 81.64 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.2318, allocations: 4 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2318, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.2319, allocations: 4 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.232, allocations: 11.98 kB / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.232, allocations: 3.938 kB / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.232, allocations: 11.89 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2321, allocations: 4 kB / 1.067 GB, free: 10.33 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.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 7.556e-05/0.2321, allocations: 113.8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.2322, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.2322, allocations: 11.84 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2322, allocations: 7.984 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2322, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2322, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.2324, allocations: 177.6 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2324, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.766e-05/0.2325, allocations: 11.98 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2325, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.2325, allocations: 8.25 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2325, allocations: 0 / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2325, allocations: 8 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.2328, allocations: 191.3 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.2328, allocations: 77.11 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2329, allocations: 4 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.2329, allocations: 7.984 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.233, allocations: 11.98 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.233, allocations: 7.938 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.781e-05/0.2331, allocations: 91.27 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2331, allocations: 0 / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001934/0.2333, allocations: 11.94 kB / 1.068 GB, free: 9.504 MB / 0.8262 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.00054/0.2338, allocations: 0.7163 MB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.234, allocations: 59.89 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.234, allocations: 0 / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/0.2341, allocations: 27.97 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.2344, allocations: 9.266 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2358, allocations: 1.323 MB / 1.07 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.236, allocations: 0.6807 MB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.102e-05/0.2361, allocations: 8 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.2361, allocations: 23.42 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2361, allocations: 0 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.746/4.982, allocations: 1.658 MB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/4.982, allocations: 216.8 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/6.857, allocations: 3.938 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches