Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002316/0.002316, allocations: 220.8 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.573/3.573, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 68.33 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3428, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002513/0.3453, allocations: 0.8729 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3467, allocations: 0.9366 MB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.3468, allocations: 11.94 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.3469, allocations: 11.86 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.347, allocations: 11.88 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3472, allocations: 39.89 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.3474, allocations: 103.7 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3475, allocations: 31.98 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3477, allocations: 47.78 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3478, allocations: 47.77 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.3478, allocations: 8 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.3479, allocations: 12 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.3479, allocations: 19.92 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.348, allocations: 39.8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3481, allocations: 103.8 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3481, allocations: 3.938 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3482, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3482, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 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.0006966/0.3489, allocations: 337.9 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3489, allocations: 8.031 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.349, allocations: 42.73 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.3491, allocations: 20.83 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.3494, allocations: 146.3 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.3494, allocations: 384 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.3494, allocations: 20.34 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3497, allocations: 95.83 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3497, allocations: 3.938 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3497, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3497, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.35, allocations: 71.83 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.3505, allocations: 319.7 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.3508, allocations: 70.47 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3509, allocations: 32.94 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3509, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.351, allocations: 38.55 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.351, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000461/0.3514, allocations: 121.5 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.3515, allocations: 51.41 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3516, allocations: 135.5 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.3516, allocations: 33.69 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.3517, allocations: 108 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3517, allocations: 15.92 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.3518, allocations: 17.72 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3519, allocations: 318.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.352, allocations: 31.97 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.3521, allocations: 27.98 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.3523, allocations: 60.92 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.3523, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002586/0.3526, allocations: 97.55 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3526, allocations: 7.984 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3526, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3526, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3527, allocations: 11.98 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3528, allocations: 3.938 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.3528, allocations: 11.98 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3529, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 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 0.0001068/0.353, allocations: 114.4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.353, allocations: 11.89 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.353, allocations: 20.33 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.353, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.353, allocations: 3.938 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.353, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.3533, allocations: 160.7 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3533, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.3533, allocations: 11.98 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3533, allocations: 3.938 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3533, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3533, allocations: 3.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3533, allocations: 7.938 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.3537, allocations: 183.6 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.3537, allocations: 11.94 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.3537, allocations: 4.047 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3538, allocations: 15.97 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.3539, allocations: 19.91 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3539, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.868e-05/0.354, allocations: 104.6 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.354, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002398/0.3542, allocations: 19.89 kB / 1.331 GB, free: 12.4 MB / 1.029 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.0006491/0.3548, allocations: 0.7202 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.3551, allocations: 64 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3551, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3552, allocations: 39.91 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3555, allocations: 21.61 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3575, allocations: 1.478 MB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.3579, allocations: 0.6963 MB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.896e-05/0.3579, allocations: 4 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.358, allocations: 27.42 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.358, allocations: 0 / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.3881, allocations: 2.327 MB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 8.062 kB / 1.336 GB, free: 7.027 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.966662041144446]