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.00152/0.00152, allocations: 102.3 kB / 16.35 MB, free: 5.879 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.001759/0.001759, allocations: 197.4 kB / 17.3 MB, free: 5.52 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 63.58 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.288, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold): time 0.001939/0.29, allocations: 0.6893 MB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.2907, allocations: 0.7923 MB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.2908, allocations: 0 / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.2908, allocations: 3.938 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.2909, allocations: 3.984 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.165e-05/0.2909, allocations: 11.98 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.291, allocations: 19.94 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.2911, allocations: 7.984 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.2912, allocations: 11.94 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.2912, allocations: 11.92 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2912, allocations: 8 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.2912, allocations: 4 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.2913, allocations: 3.938 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.2913, allocations: 11.92 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.706e-05/0.2914, allocations: 27.89 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2914, allocations: 4 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2914, allocations: 0 / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2914, allocations: 0 / 1.028 GB, free: 436 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.0004065/0.2918, allocations: 335.5 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2918, allocations: 16.03 kB / 1.029 GB, free: 32 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.2919, allocations: 8.844 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.292, allocations: 168.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.292, allocations: 384 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.292, allocations: 384 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.2922, allocations: 50.23 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2922, allocations: 192 / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.2922, allocations: 3.938 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2922, allocations: 0 / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.2924, allocations: 39.91 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.2927, allocations: 245 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.2928, allocations: 38.5 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.2929, allocations: 24.91 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.2929, allocations: 4 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.293, allocations: 34.55 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.293, allocations: 0 / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003239/0.2933, allocations: 85.5 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.2933, allocations: 51.41 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.2934, allocations: 110 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.2934, allocations: 25.7 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.2935, allocations: 84.08 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.2935, allocations: 3.906 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.2935, allocations: 21.7 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2937, allocations: 310.8 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/0.2937, allocations: 19.98 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.2938, allocations: 15.98 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.294, allocations: 40.75 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.294, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001693/0.2941, allocations: 61.61 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2942, allocations: 7.938 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.2942, allocations: 8.094 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2942, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.2943, allocations: 7.984 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2943, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.2943, allocations: 11.98 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2943, allocations: 0 / 1.03 GB, free: 14.4 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 7.697e-05/0.2944, allocations: 113.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.2945, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.2945, allocations: 7.125 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2945, allocations: 4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2945, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2945, allocations: 3.984 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.2947, allocations: 161.9 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2947, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.2947, allocations: 15.92 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2947, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2947, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2947, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2947, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.295, allocations: 167.4 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.295, allocations: 81.05 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.295, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.2951, allocations: 15.97 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.2951, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-06/0.2952, allocations: 8.031 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.2952, allocations: 83.27 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2952, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000209/0.2954, allocations: 8 kB / 1.031 GB, free: 13.64 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.0001015/0.2955, allocations: 99.19 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2957, allocations: 39.97 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2957, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.2958, allocations: 23.97 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2961, allocations: 10.53 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.2963, allocations: 101.6 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.2966, allocations: 0.6768 MB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.2966, allocations: 8.062 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.2966, allocations: 7.438 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.2967, allocations: 7.938 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of Templates: time 0.002177/0.2988, allocations: 492.4 kB / 1.032 GB, free: 12.17 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 cvode -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