Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_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.004039/0.004039, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001192/0.001192, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.529/2.529, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 64.12 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6135/0.6163, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001658/0.618, allocations: 0.7011 MB / 1.221 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008793/0.6189, allocations: 0.843 MB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.619, allocations: 4 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.619, allocations: 7.875 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.6191, allocations: 11.91 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.6192, allocations: 19.92 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.6193, allocations: 63.78 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.6194, allocations: 23.95 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.296e-05/0.6195, allocations: 23.91 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.6196, allocations: 31.84 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.6196, allocations: 4 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.6196, allocations: 8 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.6196, allocations: 8 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.6197, allocations: 31.8 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.6198, allocations: 62.44 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6198, allocations: 4 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6198, allocations: 4 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6198, allocations: 0 / 1.222 GB, free: 184 kB / 0.9356 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.0004585/0.6203, allocations: 372.2 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6203, allocations: 8.031 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.6204, allocations: 30.75 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.6204, allocations: 12.89 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.6206, allocations: 196.2 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.6207, allocations: 384 / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.6207, allocations: 12.38 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.6208, allocations: 62.17 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.6208, allocations: 3.938 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.6208, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.6208, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.77e-05/0.6209, allocations: 31.97 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.6213, allocations: 296.8 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.6216, allocations: 70.56 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.6217, allocations: 16.91 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.6217, allocations: 4 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.6217, allocations: 38.56 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6217, allocations: 0 / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000231/0.622, allocations: 77.55 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.622, allocations: 51.41 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.6221, allocations: 125.7 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.6221, allocations: 25.7 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.6222, allocations: 100.1 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.6222, allocations: 3.953 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.6223, allocations: 21.72 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6224, allocations: 322.8 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.6225, allocations: 12 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.6225, allocations: 29.7 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.6226, allocations: 29.12 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6226, allocations: 0 / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/0.6228, allocations: 77.58 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.6228, allocations: 4 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.6228, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.6228, allocations: 4 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-05/0.6229, allocations: 7.984 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.6229, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.6229, allocations: 11.94 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.6229, allocations: 0 / 1.224 GB, free: 13.92 MB / 0.9512 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.973e-05/0.623, allocations: 125.8 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.6231, allocations: 4 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.6231, allocations: 3.906 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6231, allocations: 4 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6231, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.6231, allocations: 0 / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.6233, allocations: 181.5 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6233, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.6233, allocations: 11.94 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6233, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.6234, allocations: 0 / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6234, allocations: 4 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6234, allocations: 7.938 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.6235, allocations: 155.5 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.6236, allocations: 85.05 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.6236, allocations: 4 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.6237, allocations: 4 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.6237, allocations: 11.98 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.6238, allocations: 4 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.527e-05/0.6238, allocations: 91.27 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6238, allocations: 0 / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002105/0.624, allocations: 11.94 kB / 1.225 GB, free: 13.12 MB / 0.9512 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.0004394/0.6245, allocations: 0.6972 MB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.6246, allocations: 35.97 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.6246, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.793e-05/0.6247, allocations: 19.98 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.6249, allocations: 3.938 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.6262, allocations: 1.344 MB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.6265, allocations: 0.6885 MB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.6265, allocations: 11.94 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.6266, allocations: 23.42 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.6266, allocations: 0 / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.341/1.968, allocations: 1.737 MB / 1.229 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/15.1, allocations: 11.02 kB / 1.229 GB, free: 8.508 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches