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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") 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: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 173.4 kB / 16.92 MB, free: 6.629 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.521/1.521, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.000365, allocations: 12.28 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7283, allocations: 142.4 MB / 0.9557 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.00235/0.7307, allocations: 1.715 MB / 0.9574 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.7324, allocations: 1.107 MB / 0.9585 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.7325, allocations: 7.062 kB / 0.9585 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.7329, allocations: 116.1 kB / 0.9586 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.7332, allocations: 83.59 kB / 0.9587 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.7336, allocations: 153.5 kB / 0.9588 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.7338, allocations: 241.1 kB / 0.9591 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.734, allocations: 73.14 kB / 0.9591 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.7342, allocations: 88.67 kB / 0.9592 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.7343, allocations: 111.5 kB / 0.9593 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.7344, allocations: 5.5 kB / 0.9593 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.7345, allocations: 61.2 kB / 0.9594 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.7346, allocations: 52.83 kB / 0.9594 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.7347, allocations: 119.2 kB / 0.9595 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.7349, allocations: 249.7 kB / 0.9598 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.735, allocations: 1.281 kB / 0.9598 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.735, allocations: 0 / 0.9598 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.735, allocations: 0 / 0.9598 GB, free: 4.766 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.0008899/0.7359, allocations: 0.5372 MB / 0.9603 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.7359, allocations: 16.92 kB / 0.9603 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/0.736, allocations: 29.47 kB / 0.9604 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.7364, allocations: 317.3 kB / 0.9607 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.7364, allocations: 12.12 kB / 0.9607 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.7364, allocations: 7.094 kB / 0.9607 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.7368, allocations: 135.4 kB / 0.9608 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.7368, allocations: 0 / 0.9608 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.7368, allocations: 5.375 kB / 0.9608 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7368, allocations: 2.75 kB / 0.9608 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.7371, allocations: 105.6 kB / 0.9609 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007808/0.7379, allocations: 0.4995 MB / 0.9614 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.7383, allocations: 135.1 kB / 0.9615 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.7385, allocations: 58.7 kB / 0.9616 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.7386, allocations: 1.781 kB / 0.9616 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.7388, allocations: 115.5 kB / 0.9617 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.7389, allocations: 4 kB / 0.9617 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0007008/0.7396, allocations: 228.5 kB / 0.9619 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.7396, allocations: 56.22 kB / 0.962 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.74, allocations: 365.8 kB / 0.9623 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.7401, allocations: 31.89 kB / 0.9624 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.7402, allocations: 148.7 kB / 0.9625 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.7402, allocations: 36.62 kB / 0.9625 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.7402, allocations: 24.8 kB / 0.9626 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.7403, allocations: 338.7 kB / 0.9629 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.7405, allocations: 88.67 kB / 0.963 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.7408, allocations: 109 kB / 0.9631 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.7411, allocations: 156.3 kB / 0.9632 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.7412, allocations: 3.938 kB / 0.9632 GB, free: 2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005825/0.7417, allocations: 252.9 kB / 0.9635 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7418, allocations: 4.875 kB / 0.9635 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7418, allocations: 0.9688 kB / 0.9635 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7418, allocations: 1.031 kB / 0.9635 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.742, allocations: 44.5 kB / 0.9635 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.742, allocations: 0.9688 kB / 0.9635 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.7422, allocations: 32.09 kB / 0.9635 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.7423, allocations: 9.594 kB / 0.9635 GB, free: 1.84 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.0001491/0.7424, allocations: 153.8 kB / 0.9637 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.7425, allocations: 30.38 kB / 0.9637 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.413e-05/0.7425, allocations: 23.36 kB / 0.9637 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7425, allocations: 5.422 kB / 0.9637 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7425, allocations: 0 / 0.9637 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7426, allocations: 1.438 kB / 0.9638 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.7428, allocations: 284.4 kB / 0.964 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7428, allocations: 5.312 kB / 0.964 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.7429, allocations: 20.64 kB / 0.964 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.7429, allocations: 1.219 kB / 0.964 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.7429, allocations: 1 kB / 0.964 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.743, allocations: 1.219 kB / 0.964 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.743, allocations: 0 / 0.964 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.7434, allocations: 204.8 kB / 0.9642 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.7435, allocations: 106 kB / 0.9643 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.7435, allocations: 6.406 kB / 0.9644 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.7437, allocations: 26.58 kB / 0.9644 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.7437, allocations: 20.06 kB / 0.9644 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.7437, allocations: 7.203 kB / 0.9644 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000216/0.744, allocations: 230.7 kB / 0.9646 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.744, allocations: 0 / 0.9646 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002738/0.7443, allocations: 47.83 kB / 0.9647 GB, free: 0.9453 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.001022/0.7453, allocations: 424.3 kB / 0.9651 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.7457, allocations: 173.9 kB / 0.9652 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7457, allocations: 0 / 0.9652 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.7459, allocations: 75.61 kB / 0.9653 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.7463, allocations: 53.3 kB / 0.9654 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.747, allocations: 0.5147 MB / 0.9659 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.7474, allocations: 0.7494 MB / 0.9666 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.7475, allocations: 24.11 kB / 0.9666 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.7475, allocations: 4.938 kB / 0.9666 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of Templates: time 0.006873/0.7544, allocations: 3.45 MB / 0.97 GB, free: 13.72 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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) "" Variables in the reference:time,gre.u1,gre.u2,gre.y,greHys.y Variables in the result:gre.u1,gre.u2,gre.y,greHys.y,time