Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001955/0.001955, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.885/2.885, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 67.91 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8178/0.8202, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002659/0.8229, allocations: 0.9317 MB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.8243, allocations: 0.878 MB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.8244, allocations: 4 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.8246, allocations: 15.86 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.453e-05/0.8247, allocations: 7.938 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.8249, allocations: 35.89 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.8251, allocations: 87.69 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.8252, allocations: 51.95 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.8254, allocations: 43.78 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.8255, allocations: 35.84 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.8255, allocations: 7.938 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.8255, allocations: 8 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.8255, allocations: 11.98 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.286e-05/0.8256, allocations: 35.73 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.8257, allocations: 91.64 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.8258, allocations: 8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8258, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.8258, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 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.0007204/0.8265, allocations: 417.1 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.8266, allocations: 8.031 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.8266, allocations: 8.844 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.8269, allocations: 205.3 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.8269, allocations: 8.375 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.8269, allocations: 4.375 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.8272, allocations: 86.2 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8272, allocations: 192 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.8273, allocations: 7.938 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.8273, allocations: 11.94 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.8276, allocations: 67.88 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.8282, allocations: 344.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.8285, allocations: 70.47 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.8286, allocations: 36.94 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.8286, allocations: 7.969 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.8287, allocations: 34.56 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.8287, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0005018/0.8292, allocations: 117.5 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.8293, allocations: 55.39 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.8294, allocations: 136.1 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.8294, allocations: 29.7 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.8295, allocations: 108 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.8296, allocations: 11.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.8296, allocations: 17.72 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8298, allocations: 322.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.8299, allocations: 31.97 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.83, allocations: 23.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.8303, allocations: 60.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8303, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002993/0.8306, allocations: 101.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.8306, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.8306, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.8307, allocations: 11.94 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.8308, allocations: 19.98 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8308, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.8309, allocations: 11.98 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.8309, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 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.000115/0.8311, allocations: 122.6 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.8311, allocations: 11.89 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.8311, allocations: 12.25 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.8311, allocations: 4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8312, allocations: 3.938 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8312, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.8314, allocations: 193.6 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8315, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.8316, allocations: 11.98 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8316, allocations: 0 / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.8316, allocations: 4 kB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.8316, allocations: 0 / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8316, allocations: 7.875 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.832, allocations: 191.4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.832, allocations: 88.95 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.8321, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.8322, allocations: 11.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.8323, allocations: 23.91 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.8323, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.152e-05/0.8324, allocations: 99.27 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8324, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00024/0.8326, allocations: 12 kB / 1.022 GB, free: 13.1 MB / 0.7794 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.0001754/0.8328, allocations: 99.25 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.8331, allocations: 75.88 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8331, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.8333, allocations: 35.97 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.8336, allocations: 13.38 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.8341, allocations: 216.6 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.8345, allocations: 0.6985 MB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.552e-05/0.8346, allocations: 12.3 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.8346, allocations: 11.44 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8346, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.00367/0.8383, allocations: 0.8636 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches