Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.00101, allocations: 98.8 kB / 16.02 MB, free: 76 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.00148/0.00148, allocations: 186 kB / 16.92 MB, free: 6.75 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.34 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.468/2.468, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003935, allocations: 15.98 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7618, allocations: 142.4 MB / 0.9557 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.0009355/0.7628, allocations: 441.1 kB / 0.9561 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.7639, allocations: 0.8237 MB / 0.9569 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.764, allocations: 1.25 kB / 0.9569 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.764, allocations: 3.938 kB / 0.957 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.7641, allocations: 1.031 kB / 0.957 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.7643, allocations: 24.69 kB / 0.957 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.661e-05/0.7644, allocations: 41.39 kB / 0.957 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.7645, allocations: 14.02 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.7646, allocations: 15.05 kB / 0.957 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.7647, allocations: 21.53 kB / 0.9571 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.7647, allocations: 2.781 kB / 0.9571 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.7647, allocations: 5.375 kB / 0.9571 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.7648, allocations: 13.33 kB / 0.9571 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.7648, allocations: 45.89 kB / 0.9571 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.042e-05/0.7649, allocations: 33.55 kB / 0.9572 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7649, allocations: 0 / 0.9572 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7649, allocations: 1.438 kB / 0.9572 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.7649, allocations: 0 / 0.9572 GB, free: 6.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004649/0.7654, allocations: 353.8 kB / 0.9575 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7654, allocations: 8.438 kB / 0.9575 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.7655, allocations: 15.53 kB / 0.9575 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.7656, allocations: 163.7 kB / 0.9577 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.7656, allocations: 1.781 kB / 0.9577 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.7656, allocations: 2.594 kB / 0.9577 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.7658, allocations: 74.11 kB / 0.9578 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7659, allocations: 0 / 0.9578 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.7659, allocations: 5.188 kB / 0.9578 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.7659, allocations: 0.9688 kB / 0.9578 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.7661, allocations: 72.66 kB / 0.9578 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.7666, allocations: 286.4 kB / 0.9581 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.7668, allocations: 68.78 kB / 0.9582 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.7669, allocations: 35.58 kB / 0.9582 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.7669, allocations: 4.906 kB / 0.9582 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.7669, allocations: 35.56 kB / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.767, allocations: 0 / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004323/0.7674, allocations: 123.4 kB / 0.9584 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.7674, allocations: 56.64 kB / 0.9584 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.7675, allocations: 110.6 kB / 0.9585 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.7675, allocations: 29.69 kB / 0.9585 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.7676, allocations: 86.3 kB / 0.9586 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.7676, allocations: 10.12 kB / 0.9586 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.7676, allocations: 14.72 kB / 0.9586 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.7677, allocations: 319.9 kB / 0.959 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.7678, allocations: 34.02 kB / 0.959 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.916e-05/0.7679, allocations: 33.72 kB / 0.959 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.7681, allocations: 64.41 kB / 0.9591 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7681, allocations: 3.938 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002559/0.7684, allocations: 94.55 kB / 0.9592 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7684, allocations: 4.844 kB / 0.9592 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7684, allocations: 4 kB / 0.9592 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7684, allocations: 5.141 kB / 0.9592 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.7686, allocations: 13.64 kB / 0.9592 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.7686, allocations: 1.125 kB / 0.9592 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.615e-05/0.7687, allocations: 14.41 kB / 0.9592 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.7687, allocations: 1 kB / 0.9592 GB, free: 4.551 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.574e-05/0.7687, allocations: 121.1 kB / 0.9593 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.7688, allocations: 2.094 kB / 0.9593 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.7688, allocations: 8.906 kB / 0.9593 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7688, allocations: 0 / 0.9593 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7688, allocations: 1.219 kB / 0.9593 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7688, allocations: 0 / 0.9593 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.769, allocations: 179.6 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.769, allocations: 0 / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.7691, allocations: 14.98 kB / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7691, allocations: 0 / 0.9595 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.7691, allocations: 9.312 kB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7691, allocations: 0 / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7691, allocations: 1.406 kB / 0.9595 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.7694, allocations: 200.4 kB / 0.9597 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.7694, allocations: 78.2 kB / 0.9598 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.7695, allocations: 5.125 kB / 0.9598 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.7696, allocations: 11.02 kB / 0.9598 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.7696, allocations: 11.55 kB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.7696, allocations: 1.5 kB / 0.9598 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.7697, allocations: 89.73 kB / 0.9599 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7697, allocations: 0 / 0.9599 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.7699, allocations: 11.28 kB / 0.9599 GB, free: 3.82 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: 2 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0001172/0.77, allocations: 101 kB / 0.96 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.7703, allocations: 65.19 kB / 0.9601 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7703, allocations: 0 / 0.9601 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.7705, allocations: 42.23 kB / 0.9601 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.7707, allocations: 5.609 kB / 0.9601 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.7711, allocations: 167.9 kB / 0.9603 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.7712, allocations: 0.6852 MB / 0.961 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.7713, allocations: 18.11 kB / 0.961 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.7713, allocations: 0 / 0.961 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of Templates: time 0.002295/0.7736, allocations: 0.8008 MB / 0.9618 GB, free: 2.395 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches