Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.004483/0.004483, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001183/0.001182, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.466/2.466, allocations: 437.1 MB / 0.7106 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.91 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2694, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001726/0.2711, allocations: 0.7053 MB / 1.167 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.272, allocations: 0.8432 MB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.2721, allocations: 3.938 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.2721, allocations: 3.938 kB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.2722, allocations: 7.938 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.2723, allocations: 15.98 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.097e-05/0.2724, allocations: 47.89 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.2725, allocations: 19.98 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.2726, allocations: 19.92 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.2727, allocations: 23.91 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.2727, allocations: 4 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.2727, allocations: 4 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.2727, allocations: 19.92 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.2728, allocations: 11.94 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.2729, allocations: 59.94 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2729, allocations: 0 / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2729, allocations: 0 / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2729, allocations: 4 kB / 1.168 GB, free: 5.566 MB / 0.92 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.0005033/0.2734, allocations: 357.6 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2734, allocations: 8.031 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.2735, allocations: 34.75 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.2735, allocations: 4.938 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.2737, allocations: 176.3 kB / 1.169 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2737, allocations: 384 / 1.169 GB, free: 4.906 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2737, allocations: 8.125 kB / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.2739, allocations: 65.66 kB / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2739, allocations: 0 / 1.169 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2739, allocations: 7.938 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.274, allocations: 4 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.2742, allocations: 43.95 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.2746, allocations: 300.8 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.2748, allocations: 66.48 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2749, allocations: 32.91 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.2749, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2749, allocations: 30.56 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 3.857e-06/0.275, allocations: 3.984 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003954/0.2754, allocations: 109.6 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2754, allocations: 51.41 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.2755, allocations: 105.8 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2755, allocations: 29.7 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.2756, allocations: 92.08 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.2756, allocations: 7.953 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.2756, allocations: 17.66 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2758, allocations: 338.6 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.2759, allocations: 19.98 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.276, allocations: 23.97 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.2762, allocations: 48.81 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2762, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002333/0.2764, allocations: 89.61 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2764, allocations: 8 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2765, allocations: 3.984 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2765, allocations: 0 / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2766, allocations: 15.92 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2766, allocations: 0 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.2767, allocations: 4 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2767, allocations: 7.922 kB / 1.17 GB, free: 3.262 MB / 0.92 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,intGreEquThr.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.812e-05/0.2768, allocations: 117.8 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.2768, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.2768, allocations: 11.91 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2768, allocations: 0 / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2769, allocations: 0 / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2769, allocations: 0 / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.277, allocations: 181.5 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2771, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.2771, allocations: 11.98 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2772, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2772, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2772, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2772, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.2775, allocations: 187.3 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.2775, allocations: 81.11 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.2775, allocations: 0 / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2777, allocations: 15.98 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.2777, allocations: 7.984 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.2777, allocations: 8.375 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.2778, allocations: 91.2 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2778, allocations: 0 / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002113/0.278, allocations: 11.95 kB / 1.171 GB, free: 2.445 MB / 0.92 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 (intGreEquThr.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.0005973/0.2786, allocations: 0.7186 MB / 1.171 GB, free: 1.703 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.2789, allocations: 59.81 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2789, allocations: 4 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.279, allocations: 31.97 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.2792, allocations: 11.94 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.2807, allocations: 1.315 MB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.281, allocations: 0.6807 MB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.354e-05/0.2811, allocations: 8 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.2811, allocations: 23.42 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2812, allocations: 3.938 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6137/0.8948, allocations: 1.851 MB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.702/10.6, allocations: 4.453 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches