Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 9.148 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.246/3.246, allocations: 0.49 GB / 0.7916 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 62.44 kB / 1.149 GB, free: 26.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4252, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002114/0.4273, allocations: 0.7185 MB / 1.321 GB, free: 2.652 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.4286, allocations: 0.8864 MB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.4286, allocations: 7.875 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.4287, allocations: 3.938 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.4288, allocations: 11.86 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.429, allocations: 19.98 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.4291, allocations: 59.84 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.4292, allocations: 19.97 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.4294, allocations: 31.86 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.4295, allocations: 27.86 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.4295, allocations: 4 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.4295, allocations: 8 kB / 1.323 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.4296, allocations: 23.91 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.4296, allocations: 19.88 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.4298, allocations: 71.98 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4298, allocations: 0 / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4298, allocations: 0 / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4298, allocations: 4 kB / 1.323 GB, free: 1.445 MB / 1.014 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.0006058/0.4304, allocations: 375.2 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4305, allocations: 11.98 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.4305, allocations: 34.75 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.4307, allocations: 12.92 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.431, allocations: 200.2 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.431, allocations: 384 / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.431, allocations: 8.375 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.4312, allocations: 54.23 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4312, allocations: 3.938 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4312, allocations: 0 / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4312, allocations: 4 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4314, allocations: 31.97 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.4319, allocations: 296.7 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.4322, allocations: 74.52 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.4322, allocations: 12.92 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.4323, allocations: 4 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4323, allocations: 34.5 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4323, allocations: 4 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002944/0.4326, allocations: 77.69 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.4327, allocations: 51.41 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.4328, allocations: 117.8 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.4328, allocations: 29.7 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.636e-05/0.4329, allocations: 100.1 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.4329, allocations: 15.84 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.433, allocations: 21.72 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.4332, allocations: 322.8 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.4333, allocations: 19.92 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.4333, allocations: 25.66 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.4335, allocations: 32.84 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4335, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001545/0.4336, allocations: 65.7 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4336, allocations: 8 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4336, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4336, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.4337, allocations: 7.984 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4337, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.4338, allocations: 8 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4338, allocations: 3.984 kB / 1.325 GB, free: 15.18 MB / 1.029 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 0.0001194/0.4339, allocations: 125.7 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.4339, allocations: 3.953 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.434, allocations: 11.91 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.434, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.434, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.434, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.4342, allocations: 181.6 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4342, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.4342, allocations: 4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4342, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.4342, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4343, allocations: 7.984 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4343, allocations: 0 / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.4345, allocations: 159.4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.4345, allocations: 85.06 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.4345, allocations: 4 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.4346, allocations: 7.938 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.4347, allocations: 7.984 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4347, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001578/0.4348, allocations: 99.2 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4348, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002257/0.4351, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 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.0005997/0.4357, allocations: 0.6894 MB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.4358, allocations: 39.91 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4358, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.858e-05/0.4359, allocations: 19.98 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.4362, allocations: 9.969 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.4378, allocations: 1.329 MB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.4381, allocations: 0.6962 MB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.4382, allocations: 0 / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.4382, allocations: 23.42 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4382, allocations: 0 / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.4641, allocations: 1.762 MB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/8.77, allocations: 7.938 kB / 1.33 GB, free: 9.758 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.486080906819552]