Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001658/0.001658, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.15 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.407/2.407, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 68.08 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8159/0.8174, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001952/0.8193, allocations: 0.7191 MB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.8204, allocations: 0.8375 MB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.8204, allocations: 4 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.8204, allocations: 3.938 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.8205, allocations: 3.938 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.8207, allocations: 19.92 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.81e-05/0.8208, allocations: 51.91 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.8209, allocations: 15.97 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.821, allocations: 15.94 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.8211, allocations: 27.91 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.8211, allocations: 4 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.8211, allocations: 4 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.8211, allocations: 11.92 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.8212, allocations: 23.92 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.8213, allocations: 47.8 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.8213, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8213, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.8213, allocations: 4 kB / 1.169 GB, free: 2.039 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.0005551/0.8219, allocations: 355.2 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.8219, allocations: 8.031 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.822, allocations: 8.844 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.8221, allocations: 176.3 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.8221, allocations: 8.375 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.8221, allocations: 4.375 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.8223, allocations: 69.59 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.8224, allocations: 0 / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8224, allocations: 0 / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8224, allocations: 3.938 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.8226, allocations: 47.95 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.8231, allocations: 306.5 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.8233, allocations: 58.55 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.8234, allocations: 28.91 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.8235, allocations: 8 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.8235, allocations: 34.56 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.8235, allocations: 0 / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004284/0.8239, allocations: 105.6 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.824, allocations: 51.41 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.8241, allocations: 113.8 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.8241, allocations: 25.7 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.8242, allocations: 96.03 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.8242, allocations: 11.84 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.8243, allocations: 17.72 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8244, allocations: 318.8 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.8245, allocations: 24.11 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.073e-05/0.8246, allocations: 23.92 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.8248, allocations: 60.75 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8248, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002472/0.8251, allocations: 81.56 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8251, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8251, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.8252, allocations: 7.984 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.8253, allocations: 7.984 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8253, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.8254, allocations: 8 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.8254, allocations: 4.297 kB / 1.171 GB, free: 15.78 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,intGreThr.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 9.133e-05/0.8255, allocations: 117.8 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.8255, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.8256, allocations: 11.91 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.8256, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8256, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8256, allocations: 0 / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.8258, allocations: 181.6 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8258, allocations: 7.938 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.125e-05/0.8259, allocations: 11.98 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8259, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.8259, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8259, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8259, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.8263, allocations: 191.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.8263, allocations: 89.05 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.8263, allocations: 7.922 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.8265, allocations: 4 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.8265, allocations: 11.98 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.8265, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.8266, allocations: 95.25 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8266, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002305/0.8268, allocations: 11.94 kB / 1.172 GB, free: 14.95 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 (intGreThr.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.0001446/0.827, allocations: 103.2 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.8272, allocations: 55.94 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8273, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.8274, allocations: 31.97 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.8277, allocations: 4 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.8281, allocations: 171 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.8284, allocations: 0.6846 MB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.8284, allocations: 11.44 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8284, allocations: 0 / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of Templates: time 0.00202/0.8304, allocations: 0.8112 MB / 1.174 GB, free: 13.02 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches