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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001038/0.001038, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.00122/0.00122, allocations: 194.2 kB / 16.26 MB, free: 6.637 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.88 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7952, allocations: 140.4 MB / 0.9491 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002304/0.7976, allocations: 0.7635 MB / 0.9498 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.7986, allocations: 0.8414 MB / 0.9507 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.7986, allocations: 1.469 kB / 0.9507 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.7987, allocations: 3.938 kB / 0.9507 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.7988, allocations: 13.42 kB / 0.9507 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.7989, allocations: 14.61 kB / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.799, allocations: 59.45 kB / 0.9507 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.7992, allocations: 24.31 kB / 0.9508 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.7993, allocations: 25.48 kB / 0.9508 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.7994, allocations: 23.3 kB / 0.9508 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.7994, allocations: 9.312 kB / 0.9508 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.7994, allocations: 5.062 kB / 0.9508 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.7994, allocations: 18.67 kB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.7995, allocations: 25.8 kB / 0.9509 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.7996, allocations: 66.36 kB / 0.9509 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7996, allocations: 5.234 kB / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7996, allocations: 0 / 0.9509 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.7996, allocations: 0 / 0.9509 GB, free: 7.844 MB / 0.7169 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.0004356/0.8001, allocations: 362 kB / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.8001, allocations: 12.66 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.8002, allocations: 9.281 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.8004, allocations: 194.9 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.8004, allocations: 1.719 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.8004, allocations: 2.969 kB / 0.9515 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.8006, allocations: 61.44 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.8006, allocations: 4.125 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.8006, allocations: 7.938 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8006, allocations: 5.625 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.826e-05/0.8007, allocations: 30.59 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.8011, allocations: 299.6 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.8014, allocations: 68.91 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.8015, allocations: 16.27 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.8015, allocations: 1.125 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.8015, allocations: 39.89 kB / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8015, allocations: 0 / 0.952 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002325/0.8017, allocations: 73.64 kB / 0.9521 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.8018, allocations: 56.94 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.8019, allocations: 125 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.8019, allocations: 26.95 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.8019, allocations: 98.44 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.8019, allocations: 9.219 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.802, allocations: 14.03 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.802, allocations: 324.2 kB / 0.9527 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-05/0.8021, allocations: 20.77 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.8022, allocations: 27.53 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.8022, allocations: 30.55 kB / 0.9528 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8022, allocations: 3.938 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001185/0.8024, allocations: 63.5 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.8024, allocations: 5.5 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8024, allocations: 3.984 kB / 0.9529 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.8024, allocations: 5.734 kB / 0.9529 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.8025, allocations: 8.109 kB / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.8025, allocations: 0 / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.8025, allocations: 9.484 kB / 0.9529 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.8026, allocations: 1.375 kB / 0.9529 GB, free: 5.895 MB / 0.7169 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 5.766e-05/0.8026, allocations: 121.9 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.8026, allocations: 1.375 kB / 0.953 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.8027, allocations: 10.66 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8027, allocations: 4 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8027, allocations: 0 / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8027, allocations: 1.375 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.8028, allocations: 179.1 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8028, allocations: 0 / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.8029, allocations: 8.062 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8029, allocations: 1.375 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.8029, allocations: 7.984 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8029, allocations: 1.375 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8029, allocations: 3.938 kB / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.8031, allocations: 158.3 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.8031, allocations: 87.02 kB / 0.9534 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.8031, allocations: 1.125 kB / 0.9534 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.8032, allocations: 3.312 kB / 0.9534 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.8032, allocations: 8.047 kB / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.8032, allocations: 4.922 kB / 0.9535 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.8033, allocations: 93.84 kB / 0.9535 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8033, allocations: 4 kB / 0.9535 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002238/0.8035, allocations: 6.5 kB / 0.9536 GB, free: 5.176 MB / 0.7169 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 8.031e-05/0.8036, allocations: 107.5 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.8038, allocations: 32.2 kB / 0.9537 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8038, allocations: 0 / 0.9537 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.8038, allocations: 17.55 kB / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.8041, allocations: 14.97 kB / 0.9537 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.8045, allocations: 168.1 kB / 0.9539 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.8046, allocations: 0.6858 MB / 0.9545 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.441e-05/0.8046, allocations: 14.84 kB / 0.9546 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.8047, allocations: 10.31 kB / 0.9546 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8047, allocations: 0 / 0.9546 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of Templates: time 0.002786/0.8075, allocations: 0.6365 MB / 0.9552 GB, free: 3.852 MB / 0.7169 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 -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/jenkins/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