Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_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.00107/0.00107, allocations: 98.27 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.007453/0.007453, allocations: 170.6 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003886, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7102, allocations: 142.4 MB / 0.9552 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0007303/0.7109, allocations: 435.5 kB / 0.9556 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007346/0.7117, allocations: 0.8429 MB / 0.9564 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.7117, allocations: 0 / 0.9564 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.7118, allocations: 0 / 0.9564 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.7118, allocations: 10.2 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.712, allocations: 26.34 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.7121, allocations: 54.61 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.7122, allocations: 19.77 kB / 0.9565 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.7123, allocations: 12.69 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.7123, allocations: 26.42 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.7124, allocations: 2.219 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.7124, allocations: 2.375 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.7124, allocations: 13.03 kB / 0.9566 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.7124, allocations: 47.19 kB / 0.9566 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.7125, allocations: 66.56 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7125, allocations: 1 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7126, allocations: 0 / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7126, allocations: 3.938 kB / 0.9567 GB, free: 6.461 MB / 0.7169 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.0003945/0.713, allocations: 362.7 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.713, allocations: 13.38 kB / 0.957 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.913e-05/0.713, allocations: 31.97 kB / 0.9571 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.7131, allocations: 8.094 kB / 0.9571 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.7133, allocations: 193.7 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.7133, allocations: 6.656 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.7133, allocations: 2.562 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.7135, allocations: 58.3 kB / 0.9573 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.7135, allocations: 7.938 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.7135, allocations: 0 / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7135, allocations: 0.9375 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.7136, allocations: 39.97 kB / 0.9574 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.714, allocations: 301.7 kB / 0.9577 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.7143, allocations: 91.45 kB / 0.9577 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.7143, allocations: 18.05 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.7144, allocations: 0 / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.7144, allocations: 35.53 kB / 0.9578 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.7144, allocations: 1.25 kB / 0.9578 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002256/0.7146, allocations: 83.5 kB / 0.9579 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.7146, allocations: 51.41 kB / 0.9579 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.102e-05/0.7147, allocations: 122.1 kB / 0.958 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.7147, allocations: 31.36 kB / 0.9581 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.7148, allocations: 98.72 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.7148, allocations: 9.219 kB / 0.9582 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.7148, allocations: 18.94 kB / 0.9582 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.349e-05/0.7149, allocations: 320.3 kB / 0.9585 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.7149, allocations: 21.34 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.505e-05/0.715, allocations: 30.55 kB / 0.9585 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.697e-05/0.7151, allocations: 30.09 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7151, allocations: 0 / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/0.7152, allocations: 71.55 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.7152, allocations: 5.844 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.7152, allocations: 0 / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.7152, allocations: 1.469 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.7153, allocations: 12.42 kB / 0.9587 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.7153, allocations: 1.625 kB / 0.9587 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.7154, allocations: 13.14 kB / 0.9587 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.7154, allocations: 4 kB / 0.9587 GB, free: 4.477 MB / 0.7169 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 5.744e-05/0.7154, allocations: 121.4 kB / 0.9588 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.7155, allocations: 10.3 kB / 0.9588 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.7155, allocations: 5.625 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7155, allocations: 1.562 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7155, allocations: 0 / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.7155, allocations: 0 / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.7156, allocations: 179.8 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7156, allocations: 1.375 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.7157, allocations: 8.875 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7157, allocations: 0 / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.7157, allocations: 1.219 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7157, allocations: 0 / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7157, allocations: 1.156 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.7159, allocations: 169.3 kB / 0.9592 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.7159, allocations: 87.97 kB / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.7159, allocations: 0 / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.716, allocations: 6.125 kB / 0.9592 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.716, allocations: 12.39 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.716, allocations: 0 / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.7161, allocations: 94.52 kB / 0.9593 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7161, allocations: 3.938 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002102/0.7163, allocations: 10.81 kB / 0.9594 GB, free: 3.758 MB / 0.7169 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.000297/0.7166, allocations: 0.7011 MB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.7168, allocations: 43.61 kB / 0.9601 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7168, allocations: 0 / 0.9601 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.965e-05/0.7168, allocations: 19.36 kB / 0.9601 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.7171, allocations: 4.766 kB / 0.9601 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.718, allocations: 1.362 MB / 0.9614 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.858e-05/0.7182, allocations: 0.6864 MB / 0.9621 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.7182, allocations: 7.172 kB / 0.9621 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.992e-05/0.7182, allocations: 22.17 kB / 0.9621 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/0.7183, allocations: 0 / 0.9621 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.7301, allocations: 1.455 MB / 0.9636 GB, free: 344 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.7303, allocations: 195.8 kB / 0.9637 GB, free: 88 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.376, allocations: 0 / 0.9637 GB, free: 88 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches