Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_10_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.007775/0.007775, allocations: 98.56 kB / 15.73 MB, free: 6.07 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.001912/0.001912, allocations: 192.2 kB / 16.67 MB, free: 5.977 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.278/2.278, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 67.89 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6121/0.6139, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001702/0.6156, allocations: 0.6916 MB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008878/0.6165, allocations: 0.8453 MB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.6165, allocations: 0 / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.6166, allocations: 3.938 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.6166, allocations: 15.91 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.6168, allocations: 19.92 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.874e-05/0.6169, allocations: 47.84 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.617, allocations: 8 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.617, allocations: 31.91 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.6171, allocations: 23.91 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.6171, allocations: 7.938 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.6171, allocations: 4 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.6171, allocations: 8 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.6172, allocations: 19.86 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.992e-05/0.6173, allocations: 51.84 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6173, allocations: 0 / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6173, allocations: 0 / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6173, allocations: 0 / 1.168 GB, free: 1.984 MB / 0.8887 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.0004634/0.6178, allocations: 359 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.6178, allocations: 12.92 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.6179, allocations: 38.69 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.6179, allocations: 4.938 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.618, allocations: 164.3 kB / 1.168 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.618, allocations: 8.375 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.618, allocations: 8.062 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.6182, allocations: 73.62 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.6182, allocations: 4 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.6183, allocations: 4 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.6183, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.6185, allocations: 51.94 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.6189, allocations: 296.7 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.6191, allocations: 66.53 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.789e-05/0.6192, allocations: 24.92 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.6192, allocations: 0 / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.6192, allocations: 38.55 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.6192, allocations: 3.938 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0003814/0.6196, allocations: 109.6 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.6197, allocations: 51.41 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.6197, allocations: 105.8 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.6198, allocations: 29.7 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.6199, allocations: 88.09 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.6199, allocations: 7.953 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.6199, allocations: 17.7 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6201, allocations: 322.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.691e-05/0.6202, allocations: 27.97 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/0.6203, allocations: 19.98 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.6204, allocations: 52.75 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.6204, allocations: 0 / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002291/0.6207, allocations: 93.59 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.6207, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6207, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.6207, allocations: 7.938 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.6208, allocations: 7.984 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.6208, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.6209, allocations: 7.984 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.6209, allocations: 3.938 kB / 1.17 GB, free: 15.68 MB / 0.9044 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 8.606e-05/0.621, allocations: 117.8 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.621, allocations: 7.875 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.381e-05/0.6211, allocations: 11.89 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6211, allocations: 4.328 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.6211, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.6211, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.6213, allocations: 173.7 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6213, allocations: 7.969 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/0.6214, allocations: 11.98 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6214, allocations: 4 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.6214, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6214, allocations: 4 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6214, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.6217, allocations: 183.4 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.6217, allocations: 81.05 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.6218, allocations: 8 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.6219, allocations: 11.98 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.6219, allocations: 15.92 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.6219, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.192e-05/0.622, allocations: 91.22 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.622, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002013/0.6222, allocations: 7.953 kB / 1.171 GB, free: 14.85 MB / 0.9044 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.0005781/0.6228, allocations: 0.7203 MB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.623, allocations: 51.89 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.623, allocations: 0 / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.6231, allocations: 35.97 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.6234, allocations: 6.234 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.6248, allocations: 1.325 MB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.6251, allocations: 0.6807 MB / 1.173 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.293e-05/0.6252, allocations: 11.98 kB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.6252, allocations: 19.44 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.6252, allocations: 3.938 kB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.309/1.934, allocations: 1.843 MB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/15, allocations: 4 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches