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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001896/0.001897, allocations: 197 kB / 16.25 MB, free: 6.625 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 64.08 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7917, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002054/0.7938, allocations: 0.7636 MB / 0.95 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.7947, allocations: 0.8423 MB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.7947, allocations: 1.25 kB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.7948, allocations: 3.938 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.7949, allocations: 9.109 kB / 0.9508 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.7951, allocations: 19.61 kB / 0.9508 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.084e-05/0.7952, allocations: 60.05 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.7953, allocations: 20.23 kB / 0.9509 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.7954, allocations: 32.25 kB / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.7954, allocations: 22.89 kB / 0.951 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.7955, allocations: 6.906 kB / 0.951 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.7955, allocations: 12.91 kB / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.7955, allocations: 13.05 kB / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.7956, allocations: 22.28 kB / 0.951 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.917e-05/0.7957, allocations: 74.62 kB / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.7957, allocations: 1.625 kB / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7957, allocations: 0 / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7957, allocations: 0 / 0.9511 GB, free: 7.664 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.0004088/0.7961, allocations: 365.9 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7962, allocations: 9.625 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.7962, allocations: 38.73 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.7962, allocations: 9.281 kB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.7964, allocations: 191.2 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.7965, allocations: 5.781 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.7965, allocations: 3.062 kB / 0.9517 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.7966, allocations: 59.8 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.7966, allocations: 3.938 kB / 0.9517 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.7966, allocations: 1.594 kB / 0.9517 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7966, allocations: 0 / 0.9517 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.465e-05/0.7967, allocations: 32.95 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.7971, allocations: 301.3 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.7974, allocations: 74.09 kB / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.7974, allocations: 21.19 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.7975, allocations: 0 / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.7975, allocations: 31.94 kB / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.7975, allocations: 0 / 0.9522 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002255/0.7977, allocations: 74.3 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.7978, allocations: 56.78 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.7978, allocations: 121.2 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.7979, allocations: 30.7 kB / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.7979, allocations: 94.67 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.7979, allocations: 5.312 kB / 0.9525 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.798, allocations: 21.98 kB / 0.9526 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.798, allocations: 320.1 kB / 0.9529 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.7981, allocations: 15.73 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.7981, allocations: 31.83 kB / 0.9529 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.224e-05/0.7982, allocations: 30.78 kB / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7982, allocations: 0 / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001154/0.7983, allocations: 72.11 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.7984, allocations: 4.469 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.7984, allocations: 7.938 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.7984, allocations: 1.344 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-05/0.7984, allocations: 7.812 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.7984, allocations: 1.312 kB / 0.953 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.7985, allocations: 9.078 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7985, allocations: 1.469 kB / 0.953 GB, free: 5.676 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 6.395e-05/0.7986, allocations: 117.3 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.7986, allocations: 1.844 kB / 0.9532 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.7986, allocations: 10.2 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.7986, allocations: 5.203 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.7987, allocations: 4 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7987, allocations: 3.984 kB / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.7988, allocations: 176.3 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7988, allocations: 0 / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.7988, allocations: 8.672 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7989, allocations: 0 / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.7989, allocations: 1.188 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7989, allocations: 0 / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7989, allocations: 7.875 kB / 0.9534 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.799, allocations: 159.7 kB / 0.9535 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.7991, allocations: 82.92 kB / 0.9536 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.7991, allocations: 0 / 0.9536 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.7992, allocations: 12.73 kB / 0.9536 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.7992, allocations: 6.484 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.7992, allocations: 1.25 kB / 0.9536 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.7993, allocations: 94.48 kB / 0.9537 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7993, allocations: 0 / 0.9537 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002189/0.7995, allocations: 19.53 kB / 0.9537 GB, free: 4.953 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.0003624/0.7999, allocations: 0.688 MB / 0.9544 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.8, allocations: 36.06 kB / 0.9544 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8, allocations: 4 kB / 0.9544 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.8001, allocations: 18.44 kB / 0.9545 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.8004, allocations: 11.02 kB / 0.9545 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.8014, allocations: 1.34 MB / 0.9558 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.8015, allocations: 0.6936 MB / 0.9564 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.8016, allocations: 2.531 kB / 0.9564 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.8016, allocations: 27.23 kB / 0.9565 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8016, allocations: 0 / 0.9565 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.8123, allocations: 1.567 MB / 0.958 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/0.8125, allocations: 207.9 kB / 0.9582 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.658, allocations: 0 / 0.9582 GB, free: 1.18 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > 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