Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 476.7 MB / 0.7611 GB, free: 15.84 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 1.104 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9915/0.9936, allocations: 168.7 MB / 1.269 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001791/0.9953, allocations: 0.7161 MB / 1.269 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.9962, allocations: 0.8462 MB / 1.27 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.9963, allocations: 1.188 kB / 1.27 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.9963, allocations: 4.5 kB / 1.27 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.9964, allocations: 14.45 kB / 1.27 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.9966, allocations: 24.72 kB / 1.27 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.77e-05/0.9967, allocations: 56.31 kB / 1.27 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.9968, allocations: 20.14 kB / 1.27 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.992e-05/0.9969, allocations: 28.77 kB / 1.27 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.9969, allocations: 28.36 kB / 1.27 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.997, allocations: 5.5 kB / 1.27 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.997, allocations: 5.562 kB / 1.27 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.997, allocations: 11.58 kB / 1.27 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.997, allocations: 24.55 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.9972, allocations: 74.86 kB / 1.271 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9972, allocations: 1.297 kB / 1.271 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9972, allocations: 0 / 1.271 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.9972, allocations: 0 / 1.271 GB, free: 6.512 MB / 0.9981 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.0004497/0.9976, allocations: 364 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.9977, allocations: 9.75 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.9977, allocations: 36.89 kB / 1.271 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.9978, allocations: 8.891 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.998, allocations: 195.3 kB / 1.271 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.998, allocations: 10.77 kB / 1.271 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.998, allocations: 2.688 kB / 1.271 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.9981, allocations: 54.8 kB / 1.271 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.9981, allocations: 5.328 kB / 1.271 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.9982, allocations: 0 / 1.271 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.9982, allocations: 1.188 kB / 1.271 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.87e-05/0.9983, allocations: 33.75 kB / 1.271 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.9986, allocations: 304.6 kB / 1.271 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.9989, allocations: 66.83 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.9989, allocations: 17.91 kB / 1.272 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.999, allocations: 8.781 kB / 1.272 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.999, allocations: 31.95 kB / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.999, allocations: 0 / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002523/0.9992, allocations: 71.52 kB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.9992, allocations: 52.98 kB / 1.272 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.9993, allocations: 123 kB / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.9993, allocations: 31.64 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.9994, allocations: 100.3 kB / 1.272 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.9994, allocations: 6.484 kB / 1.272 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.9994, allocations: 18.72 kB / 1.272 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.9995, allocations: 322.2 kB / 1.272 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.9996, allocations: 15.02 kB / 1.272 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.9996, allocations: 30.98 kB / 1.272 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.9997, allocations: 34.45 kB / 1.272 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9997, allocations: 0.6562 kB / 1.272 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.9999, allocations: 74.16 kB / 1.272 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9999, allocations: 6.516 kB / 1.272 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.9999, allocations: 0 / 1.272 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.9999, allocations: 0.625 kB / 1.272 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.9999, allocations: 6.047 kB / 1.272 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.9999, allocations: 0.8125 kB / 1.272 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/1, allocations: 12.02 kB / 1.272 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/1, allocations: 9.719 kB / 1.272 GB, free: 4.625 MB / 0.9981 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 (shaH.hys.y,$PRE.shaH.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.771e-05/1, allocations: 118.4 kB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/1, allocations: 2.688 kB / 1.273 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/1, allocations: 9.547 kB / 1.273 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/1, allocations: 1.562 kB / 1.273 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1, allocations: 0.9062 kB / 1.273 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/1, allocations: 0 / 1.273 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/1, allocations: 178.1 kB / 1.273 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1, allocations: 1.469 kB / 1.273 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.141e-05/1, allocations: 5.266 kB / 1.273 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1, allocations: 4.812 kB / 1.273 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/1, allocations: 1.641 kB / 1.273 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1, allocations: 0 / 1.273 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1, allocations: 2.453 kB / 1.273 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/1, allocations: 157.5 kB / 1.273 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/1, allocations: 82.55 kB / 1.273 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/1.001, allocations: 5.578 kB / 1.273 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/1.001, allocations: 14.89 kB / 1.273 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/1.001, allocations: 6.25 kB / 1.273 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/1.001, allocations: 2.531 kB / 1.273 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.759e-05/1.001, allocations: 92.83 kB / 1.273 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.001, allocations: 0 / 1.273 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002223/1.001, allocations: 15.5 kB / 1.273 GB, free: 3.941 MB / 0.9981 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0003342/1.001, allocations: 0.69 MB / 1.274 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001614/1.001, allocations: 37.05 kB / 1.274 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.001, allocations: 0 / 1.274 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/1.001, allocations: 16.8 kB / 1.274 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/1.002, allocations: 8.891 kB / 1.274 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/1.003, allocations: 1.339 MB / 1.275 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/1.003, allocations: 0.6885 MB / 1.276 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.143e-05/1.003, allocations: 8.516 kB / 1.276 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/1.003, allocations: 20.58 kB / 1.276 GB, free: 17.3 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/1.003, allocations: 0 / 1.276 GB, free: 17.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06109/1.065, allocations: 1.775 MB / 1.278 GB, free: 16.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/9.458, allocations: 5.297 kB / 1.278 GB, free: 16.88 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.703684805892408]