Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_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_9_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.001171/0.001171, allocations: 104.8 kB / 16.35 MB, free: 6.336 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.00112/0.00112, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.17 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.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 65 kB / 0.814 GB, free: 32.82 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2936, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002365/0.2961, allocations: 0.71 MB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2973, allocations: 0.8488 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.2974, allocations: 4 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.2974, allocations: 3.938 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.2975, allocations: 11.88 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.2977, allocations: 19.97 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.913e-05/0.2978, allocations: 63.77 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.298, allocations: 16 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.399e-05/0.2981, allocations: 31.8 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.2982, allocations: 31.84 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.2982, allocations: 8 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.2982, allocations: 4 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.2982, allocations: 11.98 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.2983, allocations: 27.86 kB / 0.9529 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2984, allocations: 63.78 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2984, allocations: 0 / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2984, allocations: 0 / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2985, allocations: 0 / 0.9529 GB, free: 6.219 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005091/0.299, allocations: 371.2 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.299, allocations: 8.031 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.2991, allocations: 8.922 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2993, allocations: 200.1 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2993, allocations: 4.375 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.2994, allocations: 4.375 kB / 0.9535 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.2995, allocations: 54.23 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2995, allocations: 192 / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.2995, allocations: 3.938 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2996, allocations: 11.94 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/0.2997, allocations: 27.98 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.3001, allocations: 300.7 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.3004, allocations: 70.53 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.3005, allocations: 21 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3005, allocations: 0 / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3006, allocations: 34.5 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3006, allocations: 0 / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002725/0.3008, allocations: 73.75 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.3009, allocations: 51.41 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.301, allocations: 129.8 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.301, allocations: 33.7 kB / 0.9543 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.3011, allocations: 84.14 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.3011, allocations: 11.97 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.3012, allocations: 21.7 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3013, allocations: 318.8 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.3014, allocations: 15.98 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.466e-05/0.3015, allocations: 33.7 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.3016, allocations: 36.78 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3016, allocations: 0 / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00013/0.3017, allocations: 65.59 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3017, allocations: 7.984 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3017, allocations: 0 / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3018, allocations: 3.938 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/0.3018, allocations: 4 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3018, allocations: 4.031 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.3019, allocations: 15.92 kB / 0.9549 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3019, allocations: 0 / 0.9549 GB, free: 3.996 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: 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.0001075/0.302, allocations: 123.7 kB / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.302, allocations: 7.906 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.3021, allocations: 7.906 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3021, allocations: 0 / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3021, allocations: 3.938 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3021, allocations: 7.984 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.3023, allocations: 173.6 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3023, allocations: 0 / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.3023, allocations: 7.984 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3023, allocations: 0 / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3024, allocations: 0 / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3024, allocations: 4 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3024, allocations: 0 / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.3026, allocations: 155.5 kB / 0.9553 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.3026, allocations: 85.02 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3026, allocations: 4 kB / 0.9554 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.3027, allocations: 7.984 kB / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.3028, allocations: 11.92 kB / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.3028, allocations: 0 / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.3028, allocations: 99.27 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3028, allocations: 0 / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002209/0.3031, allocations: 8 kB / 0.9555 GB, free: 3.207 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 (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 9.846e-05/0.3032, allocations: 99.78 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.3033, allocations: 27.98 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3033, allocations: 4 kB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.3034, allocations: 15.98 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3037, allocations: 17.97 kB / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.3041, allocations: 159.8 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.3044, allocations: 0.6883 MB / 0.9565 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.224e-05/0.3044, allocations: 7.984 kB / 0.9565 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.3045, allocations: 11.44 kB / 0.9565 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3045, allocations: 0 / 0.9565 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of Templates: time 0.002952/0.3074, allocations: 0.7036 MB / 0.9572 GB, free: 1.43 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches