Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",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.001593/0.001593, 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.001871/0.001871, allocations: 191.7 kB / 16.25 MB, free: 6.648 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.308/1.308, 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 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5941/0.5954, allocations: 140.4 MB / 0.9493 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003014/0.5985, allocations: 2.068 MB / 0.9513 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.5999, allocations: 1.133 MB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.6, allocations: 2.5 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.6003, allocations: 108 kB / 0.9525 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.6006, allocations: 93.92 kB / 0.9526 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.6009, allocations: 143.1 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.6011, allocations: 259.3 kB / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.6013, allocations: 74.06 kB / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.6014, allocations: 109.5 kB / 0.9531 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.6015, allocations: 130.8 kB / 0.9533 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.6016, allocations: 15.44 kB / 0.9533 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.6017, allocations: 61.2 kB / 0.9533 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.6018, allocations: 77.05 kB / 0.9534 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.6019, allocations: 107 kB / 0.9535 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.6021, allocations: 314.2 kB / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6021, allocations: 0 / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6022, allocations: 1.281 kB / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.6022, allocations: 0 / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007915/0.603, allocations: 0.5789 MB / 0.9544 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.603, allocations: 12.53 kB / 0.9544 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.6031, allocations: 46.14 kB / 0.9544 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.6031, allocations: 29.09 kB / 0.9545 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.6034, allocations: 313.3 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.6035, allocations: 4.656 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.6035, allocations: 10.75 kB / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.6038, allocations: 125.4 kB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.6038, allocations: 3.984 kB / 0.9549 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.6038, allocations: 9.219 kB / 0.9549 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6038, allocations: 6.281 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.6041, allocations: 89.28 kB / 0.955 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.6048, allocations: 0.4891 MB / 0.9555 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.6052, allocations: 135.2 kB / 0.9556 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.6053, allocations: 54.8 kB / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.6054, allocations: 1.062 kB / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.6056, allocations: 115.5 kB / 0.9558 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.6056, allocations: 0 / 0.9558 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005628/0.6062, allocations: 204.6 kB / 0.956 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.6062, allocations: 56.69 kB / 0.956 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.6065, allocations: 374 kB / 0.9564 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.6066, allocations: 31.58 kB / 0.9564 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.6066, allocations: 148.8 kB / 0.9565 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.6067, allocations: 36.38 kB / 0.9566 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.6068, allocations: 42.64 kB / 0.9566 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.6068, allocations: 342.5 kB / 0.9569 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.607, allocations: 80.19 kB / 0.957 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.6072, allocations: 98.67 kB / 0.9571 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.6075, allocations: 141.7 kB / 0.9573 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6076, allocations: 4 kB / 0.9573 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004648/0.608, allocations: 251.6 kB / 0.9575 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.608, allocations: 4.5 kB / 0.9575 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6081, allocations: 1.5 kB / 0.9575 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6081, allocations: 1.562 kB / 0.9575 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.6083, allocations: 37.62 kB / 0.9575 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6083, allocations: 0 / 0.9575 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.6085, allocations: 27.28 kB / 0.9576 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.6085, allocations: 4.688 kB / 0.9576 GB, free: 2.723 MB / 0.7169 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 (21): * Single equations (assignments): 21 * 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.0001137/0.6086, allocations: 155.5 kB / 0.9577 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.6086, allocations: 21.91 kB / 0.9577 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.6087, allocations: 31.69 kB / 0.9578 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6087, allocations: 5.062 kB / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6087, allocations: 0 / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6087, allocations: 1.062 kB / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.6089, allocations: 281.1 kB / 0.958 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6089, allocations: 0 / 0.958 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.609, allocations: 18.75 kB / 0.9581 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6091, allocations: 5.422 kB / 0.9581 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.6091, allocations: 5.094 kB / 0.9581 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.6091, allocations: 5.031 kB / 0.9581 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6091, allocations: 0 / 0.9581 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.6095, allocations: 198.9 kB / 0.9583 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.6095, allocations: 98.45 kB / 0.9584 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.6096, allocations: 6.75 kB / 0.9584 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.6097, allocations: 16.22 kB / 0.9584 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.6098, allocations: 24.22 kB / 0.9584 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.6098, allocations: 2.75 kB / 0.9584 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001866/0.61, allocations: 234.9 kB / 0.9586 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.61, allocations: 4 kB / 0.9586 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002667/0.6103, allocations: 43.53 kB / 0.9587 GB, free: 1.828 MB / 0.7169 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 (10): * Single equations (assignments): 8 * 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.001397/0.6117, allocations: 1.051 MB / 0.9597 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.6121, allocations: 168.4 kB / 0.9599 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6121, allocations: 0.9375 kB / 0.9599 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.6123, allocations: 62.45 kB / 0.9599 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.6126, allocations: 52.47 kB / 0.96 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.6157, allocations: 2.582 MB / 0.9625 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.616, allocations: 0.7547 MB / 0.9632 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.6162, allocations: 36.23 kB / 0.9633 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.6163, allocations: 79 kB / 0.9633 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.6163, allocations: 3.938 kB / 0.9633 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.26/1.876, allocations: 5.706 MB / 0.9689 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/1.876, allocations: 254.9 kB / 0.9692 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/3.648, allocations: 3.375 kB / 0.9692 GB, free: 11.18 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches