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.001557/0.001557, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001676/0.001676, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.15 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.532/2.532, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.88 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7896/0.7911, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001905/0.7931, allocations: 0.707 MB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.7942, allocations: 0.8492 MB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.7942, allocations: 4 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.7943, allocations: 3.938 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.7944, allocations: 7.875 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.7946, allocations: 27.97 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.7947, allocations: 63.72 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.7948, allocations: 23.98 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.7949, allocations: 19.92 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.795, allocations: 27.86 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.7951, allocations: 4 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.7951, allocations: 4 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.7951, allocations: 23.97 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.7952, allocations: 23.81 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.7953, allocations: 67.77 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.7953, allocations: 3.984 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7953, allocations: 0 / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.7953, allocations: 3.938 kB / 1.169 GB, free: 2.031 MB / 0.8887 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.0005139/0.7959, allocations: 368.9 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.7959, allocations: 8.625 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.7959, allocations: 8.844 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.7962, allocations: 192.3 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.7962, allocations: 384 / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.7963, allocations: 4.375 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.7964, allocations: 54.23 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7964, allocations: 4.125 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.7965, allocations: 7.938 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.7965, allocations: 4 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.7966, allocations: 31.91 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.7971, allocations: 296.8 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.7974, allocations: 66.53 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.7974, allocations: 24.84 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.7975, allocations: 4 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.7975, allocations: 34.64 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.7975, allocations: 0 / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002597/0.7978, allocations: 73.58 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.7978, allocations: 51.41 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.7979, allocations: 121.8 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.7979, allocations: 29.7 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.798, allocations: 96.11 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.798, allocations: 15.89 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.7981, allocations: 13.72 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7982, allocations: 322.8 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.7983, allocations: 19.92 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.7984, allocations: 25.8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.937e-05/0.7985, allocations: 36.86 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7985, allocations: 0 / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001593/0.7987, allocations: 61.69 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7987, allocations: 6.344 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7987, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.7987, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.7988, allocations: 7.984 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7988, allocations: 3.938 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.7989, allocations: 11.98 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.7989, allocations: 4 kB / 1.171 GB, free: 15.83 MB / 0.9044 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.0001009/0.799, allocations: 121.7 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.7991, allocations: 7.906 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.171e-05/0.7991, allocations: 11.84 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7991, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7991, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.7991, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.7993, allocations: 181.6 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7993, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.7994, allocations: 8 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7994, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.7994, allocations: 7.984 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.7994, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7994, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.7996, allocations: 159.3 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.7997, allocations: 81.48 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.7997, allocations: 4 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.7998, allocations: 4 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.7998, allocations: 7.984 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.7999, allocations: 3.984 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.7999, allocations: 99.66 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7999, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002299/0.8002, allocations: 15.84 kB / 1.172 GB, free: 15.03 MB / 0.9044 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.0001241/0.8003, allocations: 107.2 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.8005, allocations: 31.98 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8005, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.647e-05/0.8005, allocations: 19.92 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.8008, allocations: 11.94 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.8012, allocations: 181.4 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.8015, allocations: 0.6885 MB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.8016, allocations: 11.42 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.8016, allocations: 4 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of Templates: time 0.002241/0.8038, allocations: 0.8392 MB / 1.174 GB, free: 13.08 MB / 0.9044 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