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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001398/0.001397, allocations: 100.1 kB / 15.88 MB, free: 12 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.001753/0.001753, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.435/1.435, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 437 MB / 0.7106 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 0.8692 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5948/0.5962, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0023/0.5985, allocations: 0.7732 MB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.5996, allocations: 0.8351 MB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.5997, allocations: 0 / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.7e-05/0.5998, allocations: 11.92 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.679e-05/0.5999, allocations: 3.938 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.6, allocations: 23.97 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.6001, allocations: 55.8 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.6003, allocations: 19.97 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.6004, allocations: 27.86 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.6005, allocations: 31.84 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.6005, allocations: 4 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.6005, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.6005, allocations: 11.98 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.6006, allocations: 23.81 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.197e-05/0.6007, allocations: 49.86 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6007, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6007, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.6007, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 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.0005773/0.6013, allocations: 379.2 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6014, allocations: 8.031 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.6014, allocations: 8.938 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.6017, allocations: 184.3 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.6017, allocations: 8.312 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.6017, allocations: 4.375 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.6019, allocations: 54.23 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.6019, allocations: 192 / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6019, allocations: 3.938 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.6019, allocations: 4 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.602, allocations: 31.98 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.6025, allocations: 300.7 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.6028, allocations: 74.52 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.6029, allocations: 21 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.6029, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.6029, allocations: 30.56 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.6029, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002633/0.6032, allocations: 77.52 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.6033, allocations: 51.41 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.6034, allocations: 125.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.6034, allocations: 29.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.6034, allocations: 92.14 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.6035, allocations: 19.83 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.6035, allocations: 13.72 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6036, allocations: 322.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/0.6037, allocations: 19.98 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.6038, allocations: 29.7 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/0.6039, allocations: 28.84 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6039, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001443/0.604, allocations: 73.52 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.604, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6041, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6041, allocations: 4.031 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.6041, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.6041, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.6042, allocations: 11.98 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.6042, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 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 9.551e-05/0.6043, allocations: 117.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.6044, allocations: 7.906 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.6044, allocations: 11.89 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6044, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.6044, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.6044, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.6046, allocations: 173.6 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6046, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.6047, allocations: 11.92 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.6047, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.6047, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6047, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6047, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.6049, allocations: 155.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.6049, allocations: 89.06 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.605, allocations: 3.984 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.605, allocations: 7.984 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.6051, allocations: 7.984 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.6051, allocations: 0 / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.6052, allocations: 95.7 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6052, allocations: 7.938 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002363/0.6054, allocations: 15.94 kB / 1.022 GB, free: 13.94 MB / 0.7794 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.0001045/0.6055, allocations: 103.2 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.6057, allocations: 31.97 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6057, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/0.6058, allocations: 12 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.6061, allocations: 25.16 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.6065, allocations: 195.5 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.6068, allocations: 0.6848 MB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.6068, allocations: 11.44 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6068, allocations: 4 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.002251/0.6091, allocations: 0.8284 MB / 1.024 GB, free: 11.99 MB / 0.7794 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