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.004986/0.004986, allocations: 97.59 kB / 15.73 MB, free: 6 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.001443/0.001443, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.627/2.627, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 67.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3315, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002226/0.3338, allocations: 0.7012 MB / 1.167 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.335, allocations: 0.8546 MB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.3351, allocations: 0 / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.3351, allocations: 7.922 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.524e-05/0.3352, allocations: 7.875 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3354, allocations: 19.98 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3355, allocations: 59.84 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3356, allocations: 31.84 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3358, allocations: 19.94 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.3358, allocations: 27.91 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3359, allocations: 8 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.3359, allocations: 4 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.3359, allocations: 11.92 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.336, allocations: 27.86 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3361, allocations: 64 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3361, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3361, allocations: 8 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3361, allocations: 0 / 1.168 GB, free: 5.477 MB / 0.92 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.0005335/0.3367, allocations: 375.1 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3367, allocations: 12.03 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.3368, allocations: 38.69 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.3368, allocations: 8.891 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3371, allocations: 192.2 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3371, allocations: 4.375 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3372, allocations: 8.375 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3373, allocations: 54.23 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3373, allocations: 3.938 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3374, allocations: 4 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3374, allocations: 0 / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.3375, allocations: 31.91 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.338, allocations: 300.8 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.3383, allocations: 74.5 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.3384, allocations: 20.86 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.3384, allocations: 0 / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3384, allocations: 34.56 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3384, allocations: 3.938 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002757/0.3387, allocations: 77.7 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3388, allocations: 51.41 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3389, allocations: 117.8 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3389, allocations: 25.7 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.339, allocations: 96.08 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.339, allocations: 11.95 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.3391, allocations: 17.72 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3392, allocations: 322.8 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.3393, allocations: 15.94 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.3393, allocations: 29.7 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.528e-05/0.3394, allocations: 28.84 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3394, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00014/0.3396, allocations: 69.66 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3396, allocations: 8 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3396, allocations: 0 / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3396, allocations: 0 / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.3397, allocations: 11.92 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.3397, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.3398, allocations: 12 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3398, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 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.0001151/0.3399, allocations: 125.8 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3399, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.34, allocations: 11.91 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.34, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.34, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.34, allocations: 0 / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.3402, allocations: 189.5 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3402, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.3403, allocations: 4 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3403, allocations: 0 / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3403, allocations: 4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3403, allocations: 7.938 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3403, allocations: 3.984 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.3405, allocations: 163.7 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.3406, allocations: 89.09 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3406, allocations: 0 / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.3407, allocations: 4 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3407, allocations: 7.984 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.3408, allocations: 4 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.879e-05/0.3408, allocations: 99.27 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3408, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002185/0.3411, allocations: 4 kB / 1.171 GB, free: 2.41 MB / 0.92 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.0005302/0.3416, allocations: 0.6985 MB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.3418, allocations: 31.92 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3418, allocations: 8 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.3419, allocations: 11.98 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3422, allocations: 10.19 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.3436, allocations: 1.329 MB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.344, allocations: 0.6924 MB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.067e-05/0.3441, allocations: 0 / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.3441, allocations: 19.42 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.3441, allocations: 0 / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.849/2.193, allocations: 1.742 MB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/17.09, allocations: 7.875 kB / 1.175 GB, free: 13.82 MB / 0.9356 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=400 --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) Reference file matches