Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_10_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.005668/0.005668, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001258/0.001258, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 1.018 GB, free: 9.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9022/0.9035, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002163/0.9057, allocations: 0.709 MB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.9068, allocations: 0.8492 MB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.9069, allocations: 8 kB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.907, allocations: 3.938 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.9071, allocations: 11.86 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.9073, allocations: 19.97 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.9074, allocations: 63.72 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.9075, allocations: 20 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.9077, allocations: 23.92 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.9078, allocations: 35.83 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.9078, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.9078, allocations: 8 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.9079, allocations: 8 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.9079, allocations: 23.86 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.908, allocations: 74.02 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.908, allocations: 0 / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9081, allocations: 3.938 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.9081, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 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.000528/0.9086, allocations: 371.2 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.9087, allocations: 8.922 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.9087, allocations: 30.75 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.9087, allocations: 8.844 kB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.909, allocations: 192.2 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.909, allocations: 8.312 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.9091, allocations: 4.375 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.9092, allocations: 58.23 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9092, allocations: 7.938 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.9092, allocations: 3.938 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.9093, allocations: 0 / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.9094, allocations: 31.92 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.9098, allocations: 296.8 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.9101, allocations: 74.47 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.9102, allocations: 21 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.9102, allocations: 0 / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.9102, allocations: 34.56 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.9102, allocations: 4 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002527/0.9105, allocations: 77.56 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.9105, allocations: 51.41 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.9106, allocations: 125.8 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.9107, allocations: 25.7 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.9107, allocations: 96.05 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.9107, allocations: 11.83 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.9108, allocations: 17.72 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9109, allocations: 326.8 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.911, allocations: 16 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.9111, allocations: 25.7 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.981e-05/0.9111, allocations: 24.84 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9112, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.9113, allocations: 61.67 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.9113, allocations: 4 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.9113, allocations: 4.031 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.9113, allocations: 4 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.9114, allocations: 11.94 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.9114, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.9115, allocations: 11.89 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.9115, allocations: 3.938 kB / 1.17 GB, free: 15.69 MB / 0.9044 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.577e-05/0.9116, allocations: 117.8 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.9116, allocations: 4 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.9117, allocations: 11.89 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9117, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.9117, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9117, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.9119, allocations: 177.6 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.9119, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.9119, allocations: 4 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.912, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.912, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.912, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.912, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.9122, allocations: 171.2 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.9122, allocations: 77.11 kB / 1.17 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.9123, allocations: 7.984 kB / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.9123, allocations: 0 / 1.17 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.9124, allocations: 11.98 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.9124, allocations: 4 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.9125, allocations: 95.27 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9125, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002287/0.9127, allocations: 15.84 kB / 1.171 GB, free: 14.89 MB / 0.9044 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.0004704/0.9132, allocations: 0.6893 MB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.9134, allocations: 48 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9134, allocations: 0 / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.557e-05/0.9134, allocations: 19.98 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.9138, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.9152, allocations: 1.337 MB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.9155, allocations: 0.6884 MB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.653e-05/0.9156, allocations: 8 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.9157, allocations: 23.42 kB / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/0.9157, allocations: 0 / 1.173 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.9375, allocations: 1.746 MB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.629, allocations: 2.031 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,shaT.THigh,shaT.TLow,shaT.T,shaT.y Variables in the result:T.amplitude,T.freqHz,T.offset,T.phase,T.startTime,T.y,shaT.T,shaT.THigh,shaT.TLow,shaT.y,time