Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.00127/0.00127, allocations: 108 kB / 15.61 MB, free: 148 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.001919/0.001919, allocations: 191.9 kB / 16.53 MB, free: 6.664 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.698/1.698, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 70 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4041, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002112/0.4062, allocations: 0.6911 MB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.4072, allocations: 0.849 MB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.4072, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.4073, allocations: 11.92 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.4074, allocations: 15.81 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.4075, allocations: 15.92 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.89e-05/0.4076, allocations: 59.84 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.4078, allocations: 15.98 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.091e-05/0.4079, allocations: 27.92 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.4079, allocations: 31.84 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.408, allocations: 8 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.408, allocations: 4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.408, allocations: 15.92 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.4081, allocations: 31.8 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.4082, allocations: 56.12 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4082, allocations: 4 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4082, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.4082, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 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.0004753/0.4087, allocations: 371.2 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4087, allocations: 15.97 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.4088, allocations: 4.844 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.409, allocations: 200.1 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.409, allocations: 4.375 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.4091, allocations: 384 / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.4092, allocations: 58.23 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4092, allocations: 192 / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4092, allocations: 3.938 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.4092, allocations: 4 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.851e-05/0.4093, allocations: 31.92 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.4098, allocations: 296.8 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.4101, allocations: 74.53 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.4101, allocations: 16.94 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.4101, allocations: 4 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.4102, allocations: 30.56 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4102, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002546/0.4104, allocations: 77.56 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.4105, allocations: 51.41 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.4106, allocations: 129.8 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4106, allocations: 25.7 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.4107, allocations: 92.05 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.4107, allocations: 15.89 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.4107, allocations: 17.66 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4108, allocations: 318.8 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.4109, allocations: 19.98 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.411, allocations: 29.7 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.216e-05/0.4111, allocations: 32.84 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4111, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.4112, allocations: 61.67 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4112, allocations: 8 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.4112, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4113, allocations: 4.031 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.4113, allocations: 11.88 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4113, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.4114, allocations: 15.92 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4114, allocations: 3.984 kB / 1.072 GB, free: 6.324 MB / 0.8262 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.798e-05/0.4115, allocations: 118.3 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.4115, allocations: 3.906 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.4116, allocations: 15.89 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4116, allocations: 4 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4116, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4116, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.4118, allocations: 181.6 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4118, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.4118, allocations: 7.984 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4118, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.4118, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4118, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.4118, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.412, allocations: 167.3 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.4121, allocations: 85.11 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.4121, allocations: 0 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.4122, allocations: 7.984 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.4122, allocations: 7.984 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.4122, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.4123, allocations: 95.27 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4123, allocations: 8 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002153/0.4125, allocations: 7.906 kB / 1.073 GB, free: 5.527 MB / 0.8262 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.0001005/0.4126, allocations: 95.62 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.4128, allocations: 35.97 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4128, allocations: 3.938 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.364e-05/0.4128, allocations: 16.09 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.4131, allocations: 26.69 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.4135, allocations: 155.6 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.4137, allocations: 0.6846 MB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.4138, allocations: 15.92 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.4138, allocations: 11.44 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4138, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.002801/0.4166, allocations: 0.7124 MB / 1.074 GB, free: 3.723 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches