Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_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.005752/0.005752, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.001653/0.001653, allocations: 193 kB / 16.67 MB, free: 5.934 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.522/2.522, allocations: 482.6 MB / 0.7551 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 72.97 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2827, allocations: 162.3 MB / 1.242 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001675/0.2844, allocations: 0.7053 MB / 1.243 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.2853, allocations: 0.8315 MB / 1.243 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.2853, allocations: 4 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.2854, allocations: 3.938 kB / 1.243 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.2854, allocations: 3.938 kB / 1.243 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.2856, allocations: 31.91 kB / 1.243 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.2857, allocations: 43.97 kB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.2858, allocations: 11.98 kB / 1.243 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.164e-05/0.2858, allocations: 23.86 kB / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.2859, allocations: 27.91 kB / 1.244 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2859, allocations: 7.938 kB / 1.244 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.2859, allocations: 4 kB / 1.244 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.2859, allocations: 11.92 kB / 1.244 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.286, allocations: 23.92 kB / 1.244 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.021e-05/0.2861, allocations: 48.02 kB / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2861, allocations: 0 / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2861, allocations: 0 / 1.244 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2861, allocations: 0 / 1.244 GB, free: 7.113 MB / 0.9669 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.0004746/0.2866, allocations: 359.3 kB / 1.244 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2866, allocations: 12.03 kB / 1.244 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.2867, allocations: 30.75 kB / 1.244 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.2867, allocations: 0.9375 kB / 1.244 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2868, allocations: 184.2 kB / 1.244 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.2869, allocations: 8.375 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.2869, allocations: 4.125 kB / 1.244 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2871, allocations: 65.66 kB / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2871, allocations: 0 / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.2871, allocations: 3.984 kB / 1.244 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2871, allocations: 0 / 1.244 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.2873, allocations: 51.95 kB / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.2877, allocations: 288.7 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.2879, allocations: 66.56 kB / 1.245 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.288, allocations: 28.89 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.288, allocations: 0 / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.288, allocations: 38.56 kB / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2881, allocations: 4 kB / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003818/0.2884, allocations: 105.5 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.2885, allocations: 59.41 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.2886, allocations: 105.8 kB / 1.245 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2886, allocations: 25.7 kB / 1.245 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.2886, allocations: 92.17 kB / 1.245 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.2887, allocations: 11.94 kB / 1.245 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.2887, allocations: 21.7 kB / 1.245 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2888, allocations: 314.8 kB / 1.245 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.2889, allocations: 23.97 kB / 1.245 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.289, allocations: 31.92 kB / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.2892, allocations: 52.81 kB / 1.246 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2892, allocations: 0 / 1.246 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002331/0.2895, allocations: 89.89 kB / 1.246 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2895, allocations: 4 kB / 1.246 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2895, allocations: 0 / 1.246 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.2895, allocations: 3.938 kB / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.2896, allocations: 11.98 kB / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2896, allocations: 4 kB / 1.246 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.182e-05/0.2897, allocations: 15.94 kB / 1.246 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.2897, allocations: 7.938 kB / 1.246 GB, free: 4.797 MB / 0.9669 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.229e-05/0.2898, allocations: 109.8 kB / 1.246 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.2898, allocations: 4 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.2899, allocations: 7.906 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2899, allocations: 3.984 kB / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2899, allocations: 0 / 1.246 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2899, allocations: 4 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2901, allocations: 173.6 kB / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2901, allocations: 0 / 1.246 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.2901, allocations: 15.92 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2902, allocations: 0 / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2902, allocations: 7.984 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2902, allocations: 4 kB / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2902, allocations: 0 / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2905, allocations: 187.4 kB / 1.246 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.2905, allocations: 77.11 kB / 1.246 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2905, allocations: 0 / 1.246 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.2906, allocations: 7.984 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.2907, allocations: 11.98 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.2907, allocations: 4 kB / 1.246 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.2907, allocations: 87.22 kB / 1.246 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2908, allocations: 0 / 1.246 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002037/0.291, allocations: 12 kB / 1.246 GB, free: 3.996 MB / 0.9669 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.0005576/0.2915, allocations: 0.7168 MB / 1.247 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2918, allocations: 59.95 kB / 1.247 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2918, allocations: 0 / 1.247 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.2919, allocations: 35.84 kB / 1.247 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2921, allocations: 8 kB / 1.247 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2936, allocations: 1.33 MB / 1.248 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2939, allocations: 0.6846 MB / 1.249 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.2939, allocations: 4.031 kB / 1.249 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.294, allocations: 15.44 kB / 1.249 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.294, allocations: 3.938 kB / 1.249 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.219/1.513, allocations: 1.854 MB / 1.251 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.82, allocations: 4.469 kB / 1.251 GB, free: 15.3 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches