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.001149/0.001149, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001231/0.001231, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.22 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2544, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001923/0.2564, allocations: 0.7599 MB / 1.053 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2575, allocations: 0.8468 MB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.2575, allocations: 0 / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.2576, allocations: 7.938 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.223e-05/0.2577, allocations: 11.92 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.2579, allocations: 11.98 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.578e-05/0.258, allocations: 55.84 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2581, allocations: 16 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2582, allocations: 31.84 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.2583, allocations: 27.84 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.2583, allocations: 4 kB / 1.054 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.2583, allocations: 7.938 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.2583, allocations: 7.938 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.2584, allocations: 23.86 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.548e-05/0.2585, allocations: 64.05 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2585, allocations: 0 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2585, allocations: 3.938 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2585, allocations: 0 / 1.054 GB, free: 6.348 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.0004767/0.259, allocations: 367.3 kB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.259, allocations: 11.97 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.2591, allocations: 34.75 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.2591, allocations: 8.844 kB / 1.054 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.2593, allocations: 200.2 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2594, allocations: 384 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.2594, allocations: 8.375 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.2595, allocations: 58.22 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2595, allocations: 3.938 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2595, allocations: 8 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2595, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.2596, allocations: 27.98 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.26, allocations: 304.6 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.2603, allocations: 70.53 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.2604, allocations: 17 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2604, allocations: 0 / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.2604, allocations: 34.56 kB / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.2604, allocations: 0 / 1.055 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002381/0.2607, allocations: 81.52 kB / 1.055 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.2607, allocations: 55.39 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.639e-05/0.2608, allocations: 117.8 kB / 1.055 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2608, allocations: 25.7 kB / 1.055 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.2609, allocations: 96.12 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.2609, allocations: 3.906 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.261, allocations: 17.72 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2611, allocations: 322.8 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.2611, allocations: 12 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.2612, allocations: 37.64 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.235e-05/0.2613, allocations: 28.78 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2613, allocations: 0 / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.2614, allocations: 69.58 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2615, allocations: 4 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2615, allocations: 4.031 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2615, allocations: 0 / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.2616, allocations: 8 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2616, allocations: 7.922 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.2616, allocations: 11.94 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2616, allocations: 4 kB / 1.056 GB, free: 4.086 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 8.381e-05/0.2617, allocations: 117.8 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.2618, allocations: 12.23 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.2618, allocations: 7.906 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2618, allocations: 3.984 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2618, allocations: 7.938 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2618, allocations: 0 / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.262, allocations: 177.6 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.262, allocations: 0 / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.2621, allocations: 4 kB / 1.056 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2621, allocations: 4 kB / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.2621, allocations: 0 / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2621, allocations: 0 / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2621, allocations: 0 / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.2623, allocations: 163.4 kB / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.2623, allocations: 81.09 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2624, allocations: 0 / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.2624, allocations: 4 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.2625, allocations: 11.98 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2625, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.2626, allocations: 99.27 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2626, allocations: 3.938 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002181/0.2628, allocations: 8 kB / 1.057 GB, free: 3.297 MB / 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.0004383/0.2632, allocations: 0.6967 MB / 1.057 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.2634, allocations: 35.98 kB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2634, allocations: 0 / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.272e-05/0.2635, allocations: 19.92 kB / 1.057 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2638, allocations: 9.562 kB / 1.057 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.265, allocations: 1.341 MB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2653, allocations: 0.6809 MB / 1.059 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.471e-05/0.2653, allocations: 7.984 kB / 1.059 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.2654, allocations: 19.44 kB / 1.059 GB, free: 368 kB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.2654, allocations: 0 / 1.059 GB, free: 368 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01027/0.2757, allocations: 1.527 MB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.2759, allocations: 202.8 kB / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.811, allocations: 0 / 1.061 GB, free: 14.66 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