Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 107.3 kB / 16.37 MB, free: 6.473 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.001184/0.001184, allocations: 196.9 kB / 17.31 MB, free: 5.824 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.149/2.149, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 66.08 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2281, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold): time 0.001882/0.23, allocations: 0.6828 MB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000703/0.2307, allocations: 0.7905 MB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.2308, allocations: 0 / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.2308, allocations: 3.938 kB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.2308, allocations: 3.938 kB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.298e-05/0.2309, allocations: 4 kB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.869e-05/0.231, allocations: 27.92 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.231, allocations: 8 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.2311, allocations: 15.91 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.2311, allocations: 15.92 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.2312, allocations: 4 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.841e-06/0.2312, allocations: 0 / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.2312, allocations: 4 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.2312, allocations: 7.938 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.393e-05/0.2313, allocations: 31.89 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.2313, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2313, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2313, allocations: 4 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003535/0.2317, allocations: 339.4 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.2317, allocations: 8.031 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.2317, allocations: 8.844 kB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.058e-05/0.2318, allocations: 160.4 kB / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.2318, allocations: 384 / 0.9532 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.2319, allocations: 4.375 kB / 0.9532 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.232, allocations: 58.17 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.232, allocations: 192 / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.232, allocations: 3.938 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.232, allocations: 0 / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.2322, allocations: 35.95 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.2325, allocations: 244.9 kB / 0.9535 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.2326, allocations: 50.47 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.2327, allocations: 24.91 kB / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.2327, allocations: 0 / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2327, allocations: 30.56 kB / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.2327, allocations: 0 / 0.9536 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002993/0.233, allocations: 85.64 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.2331, allocations: 51.41 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.2331, allocations: 105.8 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.2332, allocations: 29.7 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.2332, allocations: 80.14 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.2332, allocations: 11.92 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.2333, allocations: 13.72 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.2333, allocations: 319 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/0.2334, allocations: 15.98 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.2335, allocations: 19.92 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2336, allocations: 32.83 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2336, allocations: 0 / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000186/0.2338, allocations: 81.5 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2339, allocations: 5.875 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2339, allocations: 0 / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2339, allocations: 0 / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.234, allocations: 15.92 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.234, allocations: 3.984 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.234, allocations: 11.98 kB / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.234, allocations: 0 / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.264e-05/0.2341, allocations: 117.8 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.2341, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.2342, allocations: 7.125 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2342, allocations: 0 / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.2342, allocations: 0 / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2342, allocations: 0 / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.2343, allocations: 165.6 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2343, allocations: 0 / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.2344, allocations: 4 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2344, allocations: 7.984 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.2344, allocations: 0 / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2344, allocations: 0 / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2344, allocations: 0 / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.2346, allocations: 163.4 kB / 0.9549 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.2347, allocations: 92.94 kB / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2347, allocations: 8.281 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.2348, allocations: 11.98 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.2348, allocations: 0 / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.2348, allocations: 0 / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.2348, allocations: 83.28 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2348, allocations: 0 / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002117/0.2351, allocations: 4 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.179e-05/0.2352, allocations: 107.2 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.2353, allocations: 35.97 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2354, allocations: 0 / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.2354, allocations: 23.92 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.2357, allocations: 11.92 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.2359, allocations: 97.77 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.2361, allocations: 0.6844 MB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.887e-05/0.2361, allocations: 3.938 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.2362, allocations: 7.438 kB / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2362, allocations: 0 / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of Templates: time 0.002262/0.2384, allocations: 0.4948 MB / 0.9565 GB, free: 2.141 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches