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.001058/0.001058, allocations: 91.69 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 181.4 kB / 16.92 MB, free: 6.652 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.474/1.474, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.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.636/2.636, allocations: 390.9 MB / 0.667 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6923/0.6927, allocations: 142.4 MB / 0.9557 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001044/0.6938, allocations: 431.9 kB / 0.9561 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.6952, allocations: 0.8419 MB / 0.9569 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.6953, allocations: 1.406 kB / 0.9569 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.6953, allocations: 3.938 kB / 0.9569 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.6954, allocations: 9.312 kB / 0.9569 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.6956, allocations: 14.77 kB / 0.957 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.6957, allocations: 66.81 kB / 0.957 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.6959, allocations: 19.47 kB / 0.957 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.696, allocations: 20.52 kB / 0.9571 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.213e-05/0.6961, allocations: 19.27 kB / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.6962, allocations: 1.406 kB / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.6962, allocations: 2.375 kB / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.6962, allocations: 17.19 kB / 0.9571 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.6963, allocations: 48.14 kB / 0.9571 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.408e-05/0.6964, allocations: 47.3 kB / 0.9572 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6964, allocations: 0 / 0.9572 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6964, allocations: 1.438 kB / 0.9572 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.6964, allocations: 0 / 0.9572 GB, free: 6.398 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.0004651/0.6969, allocations: 360.8 kB / 0.9575 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6969, allocations: 9.312 kB / 0.9575 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.697, allocations: 17.16 kB / 0.9576 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.6973, allocations: 194.4 kB / 0.9577 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.6973, allocations: 5.812 kB / 0.9578 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.6973, allocations: 3.344 kB / 0.9578 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.6975, allocations: 68.8 kB / 0.9578 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6975, allocations: 1.625 kB / 0.9578 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.6976, allocations: 3.938 kB / 0.9578 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6976, allocations: 5.406 kB / 0.9578 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.6977, allocations: 36.16 kB / 0.9579 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.6982, allocations: 300.3 kB / 0.9582 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.6986, allocations: 83.56 kB / 0.9582 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/0.6987, allocations: 22.7 kB / 0.9583 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.6988, allocations: 0 / 0.9583 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.6988, allocations: 35.52 kB / 0.9583 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.6988, allocations: 0 / 0.9583 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003382/0.6991, allocations: 79.89 kB / 0.9584 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.6992, allocations: 56.34 kB / 0.9584 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.6993, allocations: 121.2 kB / 0.9585 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.6993, allocations: 30.95 kB / 0.9586 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.6994, allocations: 94.56 kB / 0.9587 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.6994, allocations: 9.062 kB / 0.9587 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.6994, allocations: 15.09 kB / 0.9587 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.6995, allocations: 321.2 kB / 0.959 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/0.6996, allocations: 13 kB / 0.959 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.6997, allocations: 38.83 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.6998, allocations: 33 kB / 0.9591 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6999, allocations: 4.875 kB / 0.9591 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000202/0.7001, allocations: 67.17 kB / 0.9591 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.7001, allocations: 9.438 kB / 0.9591 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7001, allocations: 0 / 0.9591 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7001, allocations: 0 / 0.9591 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.7002, allocations: 10.17 kB / 0.9592 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.7002, allocations: 0 / 0.9592 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.78e-05/0.7003, allocations: 9.781 kB / 0.9592 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.7003, allocations: 4 kB / 0.9592 GB, free: 4.453 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 7.844e-05/0.7004, allocations: 121.7 kB / 0.9593 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.7005, allocations: 11 kB / 0.9593 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.7005, allocations: 17.52 kB / 0.9593 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7005, allocations: 0 / 0.9593 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.7005, allocations: 1.469 kB / 0.9593 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7006, allocations: 0 / 0.9593 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.7008, allocations: 179.9 kB / 0.9595 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7008, allocations: 0 / 0.9595 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.7008, allocations: 4.812 kB / 0.9595 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7008, allocations: 1.656 kB / 0.9595 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.7009, allocations: 4 kB / 0.9595 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7009, allocations: 0 / 0.9595 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.7009, allocations: 5.203 kB / 0.9595 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.7011, allocations: 158.8 kB / 0.9596 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.7011, allocations: 83 kB / 0.9597 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.7012, allocations: 0 / 0.9597 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.7013, allocations: 11.38 kB / 0.9597 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.7013, allocations: 9.766 kB / 0.9597 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.7014, allocations: 5.781 kB / 0.9598 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.7014, allocations: 98.02 kB / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7014, allocations: 0 / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003299/0.7018, allocations: 11.06 kB / 0.9599 GB, free: 3.727 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 0.0001155/0.7019, allocations: 103.4 kB / 0.96 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.7021, allocations: 34.48 kB / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7021, allocations: 0 / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.7022, allocations: 19.89 kB / 0.96 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.7026, allocations: 12.53 kB / 0.96 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.703, allocations: 217.4 kB / 0.9602 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.7032, allocations: 0.6875 MB / 0.9609 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.7032, allocations: 9.625 kB / 0.9609 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7032, allocations: 0 / 0.9609 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of Templates: time 0.002963/0.7062, allocations: 0.8303 MB / 0.9617 GB, free: 2.266 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/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