Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, 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.001629/0.001629, allocations: 192.8 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.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.085/3.085, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.19 kB / 0.9116 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4423, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002533/0.4449, allocations: 0.9228 MB / 1.069 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.4462, allocations: 0.8897 MB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.4463, allocations: 4 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.4464, allocations: 7.875 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.4465, allocations: 3.938 kB / 1.07 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.4467, allocations: 39.89 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.447, allocations: 99.77 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.4472, allocations: 47.97 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.4473, allocations: 43.78 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.4474, allocations: 47.83 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.4474, allocations: 8 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.4474, allocations: 8 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.4475, allocations: 15.92 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.4475, allocations: 39.73 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.4477, allocations: 91.7 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4477, allocations: 4 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.93e-06/0.4477, allocations: 0 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4477, allocations: 3.938 kB / 1.07 GB, free: 8.477 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007764/0.4485, allocations: 411.4 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4485, allocations: 8.031 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.4486, allocations: 8.844 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.4488, allocations: 208 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.4488, allocations: 4.375 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.4489, allocations: 16.3 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.4491, allocations: 94.19 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4491, allocations: 192 / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4491, allocations: 3.938 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4491, allocations: 4 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.4494, allocations: 63.95 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.4499, allocations: 352.5 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.4502, allocations: 78.47 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.4503, allocations: 32.92 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.4503, allocations: 4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.4503, allocations: 30.56 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.4503, allocations: 0 / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004425/0.4508, allocations: 121.5 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.4508, allocations: 51.41 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.451, allocations: 143.2 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.451, allocations: 29.7 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.4511, allocations: 104 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.4511, allocations: 7.844 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.4511, allocations: 25.64 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.4513, allocations: 318.8 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.4514, allocations: 27.97 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.4515, allocations: 35.97 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.4517, allocations: 56.94 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4517, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002608/0.452, allocations: 97.55 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.452, allocations: 8 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.452, allocations: 4 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.452, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4521, allocations: 15.92 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4522, allocations: 3.938 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.4523, allocations: 19.91 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.4523, allocations: 4 kB / 1.072 GB, free: 5.906 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: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.985e-05/0.4524, allocations: 117.8 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.4524, allocations: 7.906 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.4525, allocations: 12.25 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4525, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.4525, allocations: 3.938 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4525, allocations: 3.984 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.4527, allocations: 185.6 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4527, allocations: 0 / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.4528, allocations: 11.98 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4528, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.4528, allocations: 19.92 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4528, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4529, allocations: 3.938 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.4532, allocations: 183.3 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.4532, allocations: 85.25 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.4532, allocations: 4 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4534, allocations: 24.03 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.4534, allocations: 15.91 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.4535, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.483e-05/0.4535, allocations: 104.5 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4535, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002339/0.4538, allocations: 15.94 kB / 1.073 GB, free: 5.023 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * 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.0001592/0.4539, allocations: 103.2 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.4542, allocations: 75.88 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4543, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.4545, allocations: 31.98 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.4549, allocations: 8.969 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.4553, allocations: 211.1 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.4558, allocations: 0.6963 MB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.746e-05/0.4559, allocations: 4 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.4559, allocations: 15.44 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.4559, allocations: 0 / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of Templates: time 0.003306/0.4592, allocations: 0.8983 MB / 1.075 GB, free: 2.938 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches