Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.009007/0.009007, allocations: 98.39 kB / 15.73 MB, free: 5.535 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.001948/0.001948, allocations: 185 kB / 16.67 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.247/2.247, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.706/3.706, allocations: 390.3 MB / 0.6648 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 67.91 kB / 0.9505 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353/1.355, allocations: 140.4 MB / 1.088 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.005267/1.361, allocations: 1.953 MB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002749/1.364, allocations: 1.112 MB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003255/1.364, allocations: 7.688 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000653/1.365, allocations: 112.4 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004684/1.365, allocations: 94.5 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/1.366, allocations: 164.5 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004643/1.366, allocations: 217.1 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/1.367, allocations: 50.72 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/1.367, allocations: 98.83 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/1.367, allocations: 100.5 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/1.367, allocations: 16.16 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/1.367, allocations: 68.16 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/1.368, allocations: 55.08 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/1.368, allocations: 86.92 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006767/1.368, allocations: 295 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.368, allocations: 4 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.296e-06/1.368, allocations: 0.5938 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.794e-06/1.368, allocations: 3.938 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001236/1.37, allocations: 0.5398 MB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/1.37, allocations: 8.844 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/1.37, allocations: 34.94 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.369e-05/1.37, allocations: 27.16 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/1.37, allocations: 307.8 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/1.37, allocations: 11.47 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/1.371, allocations: 8.812 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/1.371, allocations: 88.84 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.371, allocations: 0 / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/1.371, allocations: 5.297 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.371, allocations: 1.812 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/1.371, allocations: 52.12 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000971/1.372, allocations: 457.3 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/1.372, allocations: 84.16 kB / 1.093 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/1.373, allocations: 39.23 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/1.373, allocations: 5.609 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/1.373, allocations: 80.86 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 3.076e-06/1.373, allocations: 0 / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0006497/1.374, allocations: 155.2 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/1.374, allocations: 52.66 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/1.374, allocations: 365 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/1.375, allocations: 31.64 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/1.375, allocations: 148.3 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/1.375, allocations: 21.75 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/1.375, allocations: 43.03 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.375, allocations: 337.9 kB / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.375, allocations: 60.89 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/1.376, allocations: 81.28 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/1.376, allocations: 102.8 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.376, allocations: 0 / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005792/1.377, allocations: 202.5 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.377, allocations: 5.438 kB / 1.095 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.377, allocations: 4.688 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.377, allocations: 5.891 kB / 1.095 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.377, allocations: 30.98 kB / 1.095 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/1.377, allocations: 6.625 kB / 1.095 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/1.377, allocations: 14.52 kB / 1.095 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/1.377, allocations: 9.938 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,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 (19): * Single equations (assignments): 19 * 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 0.0002303/1.377, allocations: 150.7 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/1.377, allocations: 21.78 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.553e-05/1.378, allocations: 30.66 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.378, allocations: 2.172 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.378, allocations: 4 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.378, allocations: 1.406 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/1.378, allocations: 257.1 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.378, allocations: 0 / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/1.378, allocations: 14.56 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/1.378, allocations: 4.594 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/1.378, allocations: 6.766 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.378, allocations: 0.5 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.378, allocations: 0.7812 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/1.379, allocations: 149 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.379, allocations: 102.5 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/1.379, allocations: 6.109 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/1.379, allocations: 18.73 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/1.379, allocations: 11.56 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/1.379, allocations: 7.547 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004499/1.38, allocations: 231.5 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.38, allocations: 0 / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004676/1.38, allocations: 40.03 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002351/1.383, allocations: 0.9994 MB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004786/1.383, allocations: 120 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.383, allocations: 4.062 kB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/1.383, allocations: 34.81 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/1.384, allocations: 58.58 kB / 1.097 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/1.389, allocations: 2.367 MB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/1.389, allocations: 0.7531 MB / 1.1 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002104/1.389, allocations: 30.88 kB / 1.1 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/1.39, allocations: 73.12 kB / 1.1 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of SimCode: time 1.613e-06/1.39, allocations: 4 kB / 1.1 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/1.433, allocations: 5.49 MB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/14.48, allocations: 8.609 kB / 1.106 GB, free: 11.46 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches