Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|greEquThr.u|greEquThr.y",fileNamePrefix="Buildings_latest_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_latest_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.001466/0.001466, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001636/0.001636, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.44/2.44, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.44 kB / 0.8774 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2911, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold): time 0.001857/0.293, allocations: 0.7043 MB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.2938, allocations: 0.7923 MB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.2938, allocations: 0 / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.477e-05/0.2939, allocations: 0 / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.2939, allocations: 7.938 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.122e-05/0.294, allocations: 7.984 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.156e-05/0.294, allocations: 23.92 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2942, allocations: 4 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.2942, allocations: 11.94 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.382e-05/0.2943, allocations: 11.92 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2943, allocations: 0 / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-06/0.2943, allocations: 4 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.2943, allocations: 4 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.2943, allocations: 23.91 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.482e-05/0.2944, allocations: 19.91 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2944, allocations: 0 / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2944, allocations: 0 / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2944, allocations: 0 / 1.028 GB, free: 400 kB / 0.795 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.0004224/0.2949, allocations: 339.5 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.2949, allocations: 8.031 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.2949, allocations: 8.891 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.2951, allocations: 168.3 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.2951, allocations: 4.375 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2951, allocations: 384 / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.2952, allocations: 50.23 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2953, allocations: 3.938 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2953, allocations: 0 / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2953, allocations: 4 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.2954, allocations: 27.97 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.2957, allocations: 257 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2959, allocations: 42.44 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.296, allocations: 16.91 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.296, allocations: 4 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.296, allocations: 38.55 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.296, allocations: 3.938 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003434/0.2964, allocations: 77.56 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.2964, allocations: 59.34 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.2965, allocations: 101.8 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2966, allocations: 25.7 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.2966, allocations: 92.27 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2967, allocations: 3.906 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.2967, allocations: 13.7 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2968, allocations: 318.8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.2969, allocations: 11.98 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.297, allocations: 15.98 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.2971, allocations: 44.88 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2971, allocations: 3.938 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.2973, allocations: 65.61 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2974, allocations: 7.938 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2974, allocations: 3.984 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2974, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.2975, allocations: 8.031 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2975, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.2976, allocations: 12.23 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.2976, allocations: 4 kB / 1.03 GB, free: 14.36 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: 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 8.35e-05/0.2977, allocations: 109.8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.2977, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.2977, allocations: 7.125 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2977, allocations: 3.984 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2977, allocations: 4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2977, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.2979, allocations: 157.6 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.2979, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.298, allocations: 11.98 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.298, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.298, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.298, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.298, allocations: 3.984 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.2983, allocations: 175.3 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.2983, allocations: 81.05 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.2983, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.2984, allocations: 11.98 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.2985, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2985, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.729e-05/0.2986, allocations: 91.3 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2986, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002132/0.2988, allocations: 7.938 kB / 1.031 GB, free: 13.61 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: 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 0.0001249/0.2989, allocations: 99.25 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.2991, allocations: 31.97 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2991, allocations: 0 / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.2992, allocations: 31.97 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.2995, allocations: 9.359 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.2999, allocations: 101.6 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3001, allocations: 0.6768 MB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.3002, allocations: 7.938 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.3002, allocations: 7.438 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3002, allocations: 0 / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of Templates: time 0.01714/0.3173, allocations: 0.489 MB / 1.032 GB, free: 12.13 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches