Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.002091/0.002091, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 437 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 65.28 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2902, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002186/0.2925, allocations: 0.698 MB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.2936, allocations: 0.8507 MB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.2937, allocations: 3.938 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.2937, allocations: 3.938 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.02e-05/0.2939, allocations: 7.875 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.2941, allocations: 31.95 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2942, allocations: 55.8 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2943, allocations: 27.97 kB / 1.02 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.2944, allocations: 23.88 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.2945, allocations: 31.83 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.2946, allocations: 4 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.2946, allocations: 8 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.2946, allocations: 8 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.2947, allocations: 31.8 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.2948, allocations: 60.11 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2948, allocations: 0 / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2948, allocations: 0 / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.2948, allocations: 4 kB / 1.02 GB, free: 8.84 MB / 0.795 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.0005135/0.2953, allocations: 375.1 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2954, allocations: 8.922 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.2954, allocations: 4.938 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.2957, allocations: 196.1 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2957, allocations: 384 / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.2957, allocations: 8.312 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2959, allocations: 62.23 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2959, allocations: 192 / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2959, allocations: 11.94 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2959, allocations: 0 / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.296, allocations: 27.98 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.2965, allocations: 304.6 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.2968, allocations: 70.52 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.2969, allocations: 21 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.2969, allocations: 0 / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.2969, allocations: 38.56 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2969, allocations: 4 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0002555/0.2972, allocations: 73.52 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.2972, allocations: 55.39 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.2973, allocations: 121.8 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2973, allocations: 25.7 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.2974, allocations: 92.14 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.2974, allocations: 7.891 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.2975, allocations: 21.72 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2976, allocations: 322.8 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/0.2977, allocations: 12 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.2977, allocations: 33.64 kB / 1.022 GB, free: 6.758 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.827e-05/0.2978, allocations: 24.84 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2978, allocations: 7.938 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/0.298, allocations: 69.61 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.298, allocations: 4 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.298, allocations: 0 / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.298, allocations: 4 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.2981, allocations: 4 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2981, allocations: 0 / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.2982, allocations: 11.92 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.2982, allocations: 0 / 1.022 GB, free: 6.625 MB / 0.795 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 (shaT.hys.y,$PRE.shaT.hys.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 0.0001001/0.2983, allocations: 125.7 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.2983, allocations: 11.89 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.2984, allocations: 7.906 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2984, allocations: 4 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2984, allocations: 0 / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2984, allocations: 0 / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.2986, allocations: 177.6 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2986, allocations: 0 / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.2987, allocations: 7.938 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.2987, allocations: 4 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.2987, allocations: 0 / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2987, allocations: 4 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2987, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.2989, allocations: 155.8 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.299, allocations: 85.05 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.299, allocations: 7.984 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.2991, allocations: 4 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2991, allocations: 15.98 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2992, allocations: 4 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.2992, allocations: 91.27 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2992, allocations: 0 / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002307/0.2995, allocations: 8 kB / 1.022 GB, free: 5.828 MB / 0.795 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001042/0.2996, allocations: 99.19 kB / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.2997, allocations: 39.97 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2998, allocations: 4 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.2998, allocations: 11.98 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3001, allocations: 11.94 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.3005, allocations: 194.9 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3008, allocations: 0.6846 MB / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.3009, allocations: 15.38 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3009, allocations: 0 / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of Templates: time 0.002376/0.3033, allocations: 0.8392 MB / 1.024 GB, free: 3.871 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches