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.00138/0.00138, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001397/0.001397, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] 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.515/2.515, allocations: 476.7 MB / 0.7628 GB, free: 15.29 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.001775/0.001775, allocations: 67.91 kB / 1.107 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8215, allocations: 168.7 MB / 1.271 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00158/0.8231, allocations: 0.7192 MB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007965/0.8239, allocations: 0.8488 MB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.8239, allocations: 0 / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.8239, allocations: 5.859 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.824, allocations: 9.859 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.8242, allocations: 20.77 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.906e-05/0.8243, allocations: 65.03 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.835e-05/0.8244, allocations: 11.16 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.243e-05/0.8245, allocations: 29.39 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.8245, allocations: 28.16 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.8246, allocations: 5.75 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.8246, allocations: 5.906 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.8246, allocations: 7.469 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.8246, allocations: 35.88 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.8247, allocations: 63.75 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8248, allocations: 0 / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8248, allocations: 4.797 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.8248, allocations: 0.5625 kB / 1.273 GB, free: 6.504 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.000375/0.8251, allocations: 363.1 kB / 1.273 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.8252, allocations: 10.92 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.421e-05/0.8252, allocations: 36.34 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.8252, allocations: 8.516 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.8254, allocations: 194.5 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.8254, allocations: 10.62 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.8254, allocations: 7.938 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.8256, allocations: 67.19 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.8256, allocations: 3.938 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.8256, allocations: 0.875 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8256, allocations: 1.469 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.549e-05/0.8257, allocations: 37.03 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.826, allocations: 301.8 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.8262, allocations: 68.81 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.56e-05/0.8263, allocations: 15.92 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.8263, allocations: 0 / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.133e-05/0.8263, allocations: 39.62 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.8263, allocations: 0 / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002162/0.8265, allocations: 73.22 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.8266, allocations: 52.34 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.852e-05/0.8266, allocations: 118.1 kB / 1.274 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.8266, allocations: 27.55 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.8267, allocations: 100.4 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.8267, allocations: 7.688 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.8267, allocations: 21.59 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.573e-05/0.8267, allocations: 318.5 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.8268, allocations: 15.33 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.226e-05/0.8268, allocations: 30.81 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.337e-05/0.8269, allocations: 27 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8269, allocations: 0 / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001162/0.827, allocations: 73.05 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.827, allocations: 11.08 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.827, allocations: 0 / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8271, allocations: 1.031 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.8271, allocations: 3.906 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.8271, allocations: 1.031 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.8272, allocations: 8.766 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.8272, allocations: 1.031 kB / 1.275 GB, free: 4.629 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 4.836e-05/0.8272, allocations: 123.6 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.8272, allocations: 10.42 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.8273, allocations: 9.719 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8273, allocations: 0.9375 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8273, allocations: 0 / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.8273, allocations: 5.094 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.8274, allocations: 177.8 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.8274, allocations: 0 / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.8274, allocations: 6.281 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.8274, allocations: 4.562 kB / 1.275 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.8274, allocations: 5.844 kB / 1.275 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8274, allocations: 3.938 kB / 1.275 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8274, allocations: 1.219 kB / 1.275 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.8276, allocations: 158.7 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.8276, allocations: 83.45 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.8276, allocations: 0.9375 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.8277, allocations: 6.5 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.8277, allocations: 15.3 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.8277, allocations: 1 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.8277, allocations: 93.55 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8277, allocations: 0.9688 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002067/0.8279, allocations: 10.38 kB / 1.276 GB, free: 3.93 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.0002724/0.8282, allocations: 0.6993 MB / 1.276 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.8283, allocations: 32.62 kB / 1.277 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.8284, allocations: 0 / 1.277 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.8284, allocations: 20.28 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.8286, allocations: 4.516 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.8296, allocations: 1.342 MB / 1.278 GB, free: 18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.8299, allocations: 0.6861 MB / 1.279 GB, free: 17.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.8299, allocations: 4.672 kB / 1.279 GB, free: 17.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.83, allocations: 26.36 kB / 1.279 GB, free: 17.29 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/0.83, allocations: 0.9688 kB / 1.279 GB, free: 17.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.8529, allocations: 1.734 MB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.741, allocations: 3.516 kB / 1.28 GB, free: 16.91 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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] "" Variables in the reference:time,shaH.H,shaH.HHigh,shaH.HLow,shaH.y Variables in the result:H.amplitude,H.freqHz,H.offset,H.phase,H.startTime,H.y,shaH.H,shaH.HHigh,shaH.HLow,shaH.y,time [Calling sys.exit(0), Time elapsed: 13.037658835000002]