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.001803/0.001803, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001667/0.001667, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.346/2.346, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 64.03 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3042, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002009/0.3062, allocations: 0.7122 MB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3073, allocations: 0.8489 MB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.3073, allocations: 4 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.3074, allocations: 3.938 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.409e-05/0.3075, allocations: 11.86 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.3077, allocations: 15.98 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.3078, allocations: 63.72 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3079, allocations: 27.97 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.789e-05/0.308, allocations: 19.94 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.3081, allocations: 31.84 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3081, allocations: 4 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.3081, allocations: 8 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3081, allocations: 4 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.3082, allocations: 35.78 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3083, allocations: 63.78 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3083, allocations: 0 / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3083, allocations: 0 / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3083, allocations: 4 kB / 0.9529 GB, free: 6.172 MB / 0.7325 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.0004703/0.3088, allocations: 372.2 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3089, allocations: 11.97 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.3089, allocations: 4.938 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3092, allocations: 200.2 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3092, allocations: 4.359 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3092, allocations: 4.375 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3094, allocations: 58.23 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3094, allocations: 192 / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3094, allocations: 3.938 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3094, allocations: 4 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.3095, allocations: 35.86 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.3099, allocations: 296.7 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.3102, allocations: 74.47 kB / 0.954 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.3103, allocations: 21 kB / 0.954 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3103, allocations: 0 / 0.954 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3103, allocations: 30.56 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3103, allocations: 0 / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002476/0.3106, allocations: 73.58 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3106, allocations: 55.41 kB / 0.9541 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.3107, allocations: 125.8 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3108, allocations: 29.7 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.3108, allocations: 84.14 kB / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3109, allocations: 19.83 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.3109, allocations: 13.72 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.311, allocations: 326.8 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.151e-05/0.3111, allocations: 12 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.3111, allocations: 29.7 kB / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.3112, allocations: 28.84 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3113, allocations: 0 / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/0.3114, allocations: 69.58 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3114, allocations: 7.938 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3114, allocations: 4.031 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3114, allocations: 0 / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.3115, allocations: 7.938 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3115, allocations: 0 / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.3116, allocations: 15.92 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.3116, allocations: 0 / 0.9549 GB, free: 3.957 MB / 0.7325 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.0001017/0.3117, allocations: 119.8 kB / 0.955 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.3117, allocations: 7.906 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.3118, allocations: 16.22 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3118, allocations: 0 / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3118, allocations: 0 / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3118, allocations: 3.984 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.312, allocations: 177.7 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.312, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.312, allocations: 7.984 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3121, allocations: 0 / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3121, allocations: 0 / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3121, allocations: 8 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3121, allocations: 0 / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.3123, allocations: 163.4 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3123, allocations: 81.02 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3123, allocations: 11.92 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.3124, allocations: 4 kB / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.3125, allocations: 7.984 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3125, allocations: 0 / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.3125, allocations: 103.3 kB / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3125, allocations: 0 / 0.9555 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002319/0.3128, allocations: 8 kB / 0.9556 GB, free: 3.156 MB / 0.7325 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.0001035/0.3129, allocations: 95.78 kB / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001605/0.3131, allocations: 35.97 kB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3131, allocations: 0 / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.3131, allocations: 15.94 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.3135, allocations: 23.86 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.3138, allocations: 151.8 kB / 0.9559 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.3141, allocations: 0.6883 MB / 0.9565 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.3141, allocations: 8 kB / 0.9565 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.3142, allocations: 15.42 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3142, allocations: 0 / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.003127/0.3173, allocations: 0.6987 MB / 0.9572 GB, free: 1.375 MB / 0.7325 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 -s cvode -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