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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001155/0.001155, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001227/0.001227, allocations: 193.5 kB / 16.25 MB, free: 6.152 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.249/1.249, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.434/2.434, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.17 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2554, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002034/0.2574, allocations: 0.9246 MB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009714/0.2584, allocations: 0.9013 MB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2586, allocations: 4 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.2587, allocations: 7.875 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.2587, allocations: 3.938 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.2589, allocations: 27.97 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.259, allocations: 107.7 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2592, allocations: 55.89 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2593, allocations: 39.8 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.2594, allocations: 43.83 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.2594, allocations: 8 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.2594, allocations: 8 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.2594, allocations: 19.91 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.2595, allocations: 39.73 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2596, allocations: 91.98 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2596, allocations: 4 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2596, allocations: 3.938 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.2597, allocations: 4 kB / 1.055 GB, free: 6.348 MB / 0.8106 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.0005591/0.2602, allocations: 411 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2603, allocations: 8.625 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.2603, allocations: 38.75 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.2604, allocations: 12.83 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.2605, allocations: 200.9 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.2606, allocations: 4.312 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.2606, allocations: 12.38 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.2608, allocations: 90.2 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2608, allocations: 3.938 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2608, allocations: 0 / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2609, allocations: 0 / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.2611, allocations: 71.94 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.2616, allocations: 360.5 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.2618, allocations: 62.55 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2619, allocations: 36.92 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.2619, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.262, allocations: 38.5 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.262, allocations: 0 / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004115/0.2624, allocations: 121.5 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.2624, allocations: 55.41 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.2625, allocations: 135.2 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2625, allocations: 25.7 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.2626, allocations: 103.9 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.2626, allocations: 19.83 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.2627, allocations: 17.72 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.2628, allocations: 318.8 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2629, allocations: 27.98 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.263, allocations: 39.91 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.2632, allocations: 52.81 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2632, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002518/0.2635, allocations: 101.7 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2635, allocations: 5.562 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2635, allocations: 4 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2635, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.2636, allocations: 11.98 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.2636, allocations: 7.922 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.2638, allocations: 23.92 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.2638, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 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 7.786e-05/0.2639, allocations: 117.8 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.2639, allocations: 8.094 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.2639, allocations: 20.16 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2639, allocations: 4 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2639, allocations: 3.938 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.2639, allocations: 0 / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.2641, allocations: 189.6 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2641, allocations: 4 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.2642, allocations: 11.98 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2642, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2642, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2642, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2642, allocations: 3.938 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.2645, allocations: 195.3 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.2646, allocations: 85 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2646, allocations: 4 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.2647, allocations: 15.98 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.2648, allocations: 11.92 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2648, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.2648, allocations: 103.2 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2648, allocations: 0 / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002173/0.2651, allocations: 19.94 kB / 1.058 GB, free: 2.863 MB / 0.8106 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.0005502/0.2656, allocations: 0.7202 MB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.2659, allocations: 71.88 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2659, allocations: 0 / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.266, allocations: 31.97 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.2663, allocations: 19.48 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2679, allocations: 1.494 MB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.2681, allocations: 0.6963 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.472e-05/0.2682, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.2682, allocations: 35.36 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2682, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2922/0.5605, allocations: 1.973 MB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.5607, allocations: 205.5 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.135, allocations: 4.062 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > 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/jenkins1/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