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.0019/0.0019, allocations: 104.4 kB / 16.45 MB, free: 6.387 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.002134/0.002134, allocations: 218.3 kB / 19.43 MB, free: 3.727 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.27/3.27, allocations: 0.49 GB / 0.7916 GB, free: 33.41 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.002062/0.002062, allocations: 68.12 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3293, allocations: 176.1 MB / 1.321 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002303/0.3316, allocations: 0.8717 MB / 1.322 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3329, allocations: 0.9444 MB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.333, allocations: 0 / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.3331, allocations: 19.8 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.3332, allocations: 7.875 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.3334, allocations: 35.89 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3336, allocations: 103.7 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3337, allocations: 35.95 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3339, allocations: 43.86 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.3339, allocations: 43.78 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.334, allocations: 8 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.221e-05/0.334, allocations: 15.97 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.334, allocations: 15.94 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.3341, allocations: 39.8 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.3343, allocations: 111.7 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3343, allocations: 0 / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3343, allocations: 0 / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3343, allocations: 0 / 1.323 GB, free: 0.9961 MB / 1.014 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.0007511/0.3351, allocations: 415 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3351, allocations: 15.98 kB / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.3352, allocations: 34.75 kB / 1.324 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.3353, allocations: 24.88 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.3357, allocations: 212.1 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3357, allocations: 4.375 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.3358, allocations: 8.375 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.336, allocations: 94.2 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.336, allocations: 3.938 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3361, allocations: 0 / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3361, allocations: 4 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.3363, allocations: 63.94 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.337, allocations: 360.5 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.3372, allocations: 58.55 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.3374, allocations: 32.92 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3374, allocations: 3.938 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3374, allocations: 38.56 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3374, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004871/0.3379, allocations: 117.6 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.338, allocations: 51.41 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3381, allocations: 152 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3382, allocations: 25.7 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.3382, allocations: 108 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3383, allocations: 7.891 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.3383, allocations: 25.7 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3385, allocations: 318.8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3386, allocations: 23.98 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3387, allocations: 39.91 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3389, allocations: 56.81 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3389, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002951/0.3392, allocations: 93.59 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3393, allocations: 8 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3393, allocations: 4.188 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3393, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3394, allocations: 11.98 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3394, allocations: 3.938 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.3395, allocations: 27.89 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3395, allocations: 4 kB / 1.325 GB, free: 14.36 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.0001064/0.3396, allocations: 114 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.3397, allocations: 11.95 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.3397, allocations: 16.23 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3397, allocations: 0 / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3397, allocations: 3.938 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3397, allocations: 4 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.3399, allocations: 189.6 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3399, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-05/0.34, allocations: 11.98 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.34, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.34, allocations: 3.938 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.34, allocations: 4 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.34, allocations: 3.938 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.3404, allocations: 187.4 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.3404, allocations: 89.05 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.3405, allocations: 0 / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3406, allocations: 15.98 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.3407, allocations: 19.92 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3407, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.3407, allocations: 101.3 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3407, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002415/0.341, allocations: 23.89 kB / 1.326 GB, free: 13.48 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.000747/0.3417, allocations: 0.7202 MB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.3421, allocations: 71.88 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3421, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.3422, allocations: 31.97 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.3425, allocations: 19.92 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3446, allocations: 1.476 MB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3449, allocations: 0.6963 MB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.645e-05/0.345, allocations: 7.984 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.3451, allocations: 23.42 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3451, allocations: 4 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.3716, allocations: 2.207 MB / 1.331 GB, free: 8.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.632, allocations: 21.95 kB / 1.331 GB, free: 8.164 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.352569689042866]