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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002108/0.002108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002819/0.002819, allocations: 192.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.505/2.505, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.938/4.938, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 67.64 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5137, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.003723/0.5175, allocations: 0.7598 MB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.5195, allocations: 0.8468 MB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/0.5196, allocations: 8 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.658e-05/0.5197, allocations: 7.922 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.5199, allocations: 3.938 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.5201, allocations: 19.98 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.5203, allocations: 63.78 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.5205, allocations: 15.98 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.5208, allocations: 31.86 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.5209, allocations: 27.86 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.5209, allocations: 4 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.764e-05/0.521, allocations: 8 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.521, allocations: 11.97 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/0.5211, allocations: 27.81 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.5213, allocations: 64.06 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5213, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5214, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.5214, allocations: 0 / 1.054 GB, free: 6.723 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.0007498/0.5221, allocations: 367.3 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.5222, allocations: 8.625 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.574e-05/0.5223, allocations: 34.75 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.5223, allocations: 8.844 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.5227, allocations: 200.2 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.5227, allocations: 4.375 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.5227, allocations: 384 / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.5229, allocations: 58.23 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.523, allocations: 7.938 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.523, allocations: 4 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.523, allocations: 0 / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.5232, allocations: 31.97 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/0.5238, allocations: 296.7 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.5242, allocations: 74.52 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.5243, allocations: 24.92 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.5244, allocations: 0 / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.5244, allocations: 38.64 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.5244, allocations: 4 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003704/0.5248, allocations: 77.52 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.5248, allocations: 51.41 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.525, allocations: 121.8 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.525, allocations: 25.7 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.5251, allocations: 92.12 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.5252, allocations: 11.92 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.5252, allocations: 13.72 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5253, allocations: 330.8 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.5254, allocations: 15.98 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.5255, allocations: 25.72 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.5256, allocations: 36.77 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5256, allocations: 0 / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001552/0.5258, allocations: 61.59 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5258, allocations: 9.438 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5258, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5258, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.5259, allocations: 7.984 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.5259, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.526, allocations: 15.86 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.526, allocations: 4 kB / 1.056 GB, free: 4.457 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 0.0001021/0.5261, allocations: 117.8 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.5262, allocations: 7.906 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.5262, allocations: 15.84 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5262, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5262, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5262, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.5264, allocations: 177.6 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5264, allocations: 4 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.5265, allocations: 4 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5265, allocations: 0 / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5265, allocations: 7.984 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5265, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5265, allocations: 4 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.5267, allocations: 159.7 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.5268, allocations: 77.11 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.5268, allocations: 4 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.5269, allocations: 4 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.527, allocations: 8.016 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.527, allocations: 8 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.527, allocations: 99.2 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.527, allocations: 0 / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002423/0.5273, allocations: 8 kB / 1.057 GB, free: 3.668 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.0005264/0.5278, allocations: 0.6967 MB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.528, allocations: 39.92 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.528, allocations: 0 / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/0.5281, allocations: 23.92 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.5284, allocations: 4 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.5299, allocations: 1.345 MB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.5303, allocations: 0.6885 MB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.391e-05/0.5304, allocations: 0 / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.5305, allocations: 27.36 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of SimCode: time 5.81e-07/0.5305, allocations: 0 / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.5519, allocations: 1.569 MB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004317/0.5524, allocations: 205.7 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/3.372, allocations: 0 / 1.061 GB, free: 15 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