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.000806/0.000806, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008692/0.0008692, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.9017/0.9017, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.9809 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.873e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.648 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00166/0.001689, allocations: 0.7079 MB / 0.9816 GB, free: 1.945 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009254/0.002614, allocations: 0.8821 MB / 0.9825 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.002668, allocations: 0 / 0.9825 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.002698, allocations: 3.938 kB / 0.9825 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.959e-05/0.002777, allocations: 7.875 kB / 0.9825 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.002987, allocations: 27.92 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.003075, allocations: 63.77 kB / 0.9826 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00318, allocations: 15.98 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.003326, allocations: 39.91 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.003395, allocations: 19.97 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.003413, allocations: 4 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.279e-05/0.003455, allocations: 11.94 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.003473, allocations: 15.94 kB / 0.9827 GB, free: 0.8438 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.003499, allocations: 15.92 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.003639, allocations: 71.81 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003641, allocations: 0 / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.194e-06/0.003644, allocations: 4 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003648, allocations: 0 / 0.9827 GB, free: 0.7539 MB / 0.9323 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.0004106/0.004058, allocations: 294 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.004106, allocations: 12.03 kB / 0.983 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.004139, allocations: 38.73 kB / 0.9831 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.004275, allocations: 12.89 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.004507, allocations: 141.6 kB / 0.9832 GB, free: 204 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.004522, allocations: 4.375 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.004535, allocations: 4.375 kB / 0.9832 GB, free: 196 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.004669, allocations: 58.23 kB / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.004678, allocations: 192 / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.004692, allocations: 4.375 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.0047, allocations: 4.125 kB / 0.9833 GB, free: 124 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.004775, allocations: 27.97 kB / 0.9833 GB, free: 96 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.005217, allocations: 255.9 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.005431, allocations: 74.47 kB / 0.9836 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.005465, allocations: 20.91 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.005482, allocations: 0 / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.005503, allocations: 42.58 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.005504, allocations: 0 / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001809/0.005684, allocations: 73.61 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.005717, allocations: 51.41 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.21e-05/0.005789, allocations: 125.7 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.0058, allocations: 29.7 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.005852, allocations: 96.08 kB / 0.9841 GB, free: 15.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.005866, allocations: 7.953 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.005894, allocations: 13.72 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.005978, allocations: 322.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.006011, allocations: 15.98 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/0.006061, allocations: 59.36 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.006111, allocations: 32.77 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006113, allocations: 0 / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.876e-05/0.006192, allocations: 69.61 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.006204, allocations: 8 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.006208, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.006219, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.73e-05/0.006256, allocations: 7.984 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.006261, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.006292, allocations: 11.98 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.006296, allocations: 0 / 0.9846 GB, free: 14.66 MB / 0.948 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 6.061e-05/0.006356, allocations: 117.8 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.006372, allocations: 15.89 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.848e-05/0.00639, allocations: 8 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006392, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.006396, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.006399, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.006512, allocations: 148.7 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006513, allocations: 0 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.006529, allocations: 4 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006531, allocations: 4 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.006539, allocations: 3.984 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.00654, allocations: 4 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006541, allocations: 4 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.006645, allocations: 155.5 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.006654, allocations: 4.328 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.006667, allocations: 4 kB / 0.985 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.736e-05/0.006704, allocations: 11.94 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.006744, allocations: 7.969 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.006748, allocations: 4 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.006783, allocations: 91.27 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.006784, allocations: 0 / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001513/0.006935, allocations: 15.94 kB / 0.9852 GB, free: 14 MB / 0.948 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.0002667/0.007202, allocations: 0.6967 MB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.007314, allocations: 39.86 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.007316, allocations: 0 / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.843e-05/0.007345, allocations: 15.98 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.007563, allocations: 6.656 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/0.008471, allocations: 1.334 MB / 0.9872 GB, free: 11.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.884e-05/0.00852, allocations: 67.59 kB / 0.9873 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.008551, allocations: 3.984 kB / 0.9873 GB, free: 11.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.008596, allocations: 20.5 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of SimCode: time 4.1e-07/0.008596, allocations: 4 kB / 0.9873 GB, free: 11.69 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.02364, allocations: 2.452 MB / 0.9897 GB, free: 9.387 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.743, allocations: 6.25 kB / 0.9897 GB, free: 9.383 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.773930444382131]