Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_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.0009763/0.0009759, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008173/0.008173, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 13.31 kB / 0.9029 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2938, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001054/0.2949, allocations: 439 kB / 1.059 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.296, allocations: 0.8469 MB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.2961, allocations: 0 / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.2961, allocations: 0 / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/0.2962, allocations: 11.92 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.2963, allocations: 15.92 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.625e-05/0.2964, allocations: 59.78 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2965, allocations: 16 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/0.2966, allocations: 23.91 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.2967, allocations: 23.86 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.2967, allocations: 0 / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.2968, allocations: 4 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.2968, allocations: 7.984 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.2968, allocations: 49.52 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.292e-05/0.2969, allocations: 64.03 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2969, allocations: 3.938 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2969, allocations: 0 / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.297, allocations: 0 / 1.06 GB, free: 3.297 MB / 0.8106 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.000446/0.2974, allocations: 355.4 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2975, allocations: 15.95 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.2975, allocations: 30.75 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.2975, allocations: 8.844 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.2978, allocations: 196.2 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2978, allocations: 12.31 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.2979, allocations: 8.375 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.298, allocations: 58.23 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.298, allocations: 3.938 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2981, allocations: 0 / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2981, allocations: 0 / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.2982, allocations: 35.92 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.2987, allocations: 308.7 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.299, allocations: 86.47 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.299, allocations: 25 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2991, allocations: 0 / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2991, allocations: 34.56 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.2991, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002542/0.2994, allocations: 73.67 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.2994, allocations: 55.34 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.2995, allocations: 121.8 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2995, allocations: 29.7 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.2996, allocations: 95.98 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2996, allocations: 11.89 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.2996, allocations: 17.72 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.2997, allocations: 314.8 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.224e-05/0.2998, allocations: 15.98 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.2998, allocations: 33.89 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.367e-05/0.2999, allocations: 40.95 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2999, allocations: 0 / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.3001, allocations: 65.59 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3001, allocations: 9.547 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3001, allocations: 4 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3001, allocations: 0 / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.79e-05/0.3002, allocations: 7.938 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3002, allocations: 4 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.578e-05/0.3003, allocations: 19.92 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3003, allocations: 7.938 kB / 1.062 GB, free: 0.9922 MB / 0.8106 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.786e-05/0.3004, allocations: 117.8 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3004, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.3004, allocations: 7.906 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3004, allocations: 3.984 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.3004, allocations: 4 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3005, allocations: 0 / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3006, allocations: 173.6 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3006, allocations: 4 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.3007, allocations: 7.984 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3007, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3007, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3007, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3007, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.3009, allocations: 171.3 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.3009, allocations: 85.02 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.301, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.301, allocations: 7.984 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.3011, allocations: 11.98 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3011, allocations: 4 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.3011, allocations: 95.27 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3011, allocations: 0 / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002165/0.3014, allocations: 8 kB / 1.063 GB, free: 212 kB / 0.8106 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.0004202/0.3018, allocations: 0.7006 MB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.302, allocations: 39.97 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.302, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.677e-05/0.302, allocations: 16 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3023, allocations: 3.984 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3035, allocations: 1.381 MB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.3038, allocations: 0.6888 MB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.3038, allocations: 7.984 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.3039, allocations: 15.44 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3039, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.3145, allocations: 1.457 MB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.3147, allocations: 200.7 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.968, allocations: 4 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches