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.00192/0.00192, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002275/0.002275, allocations: 166.3 kB / 22.46 MB, free: 5.359 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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.852/2.852, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.361e-05, allocations: 6.281 kB / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002009/0.002043, allocations: 0.6896 MB / 0.982 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.003329, allocations: 0.8821 MB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.003389, allocations: 0 / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.003423, allocations: 3.938 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.003524, allocations: 7.875 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.003771, allocations: 27.91 kB / 0.9829 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.003897, allocations: 63.78 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.004019, allocations: 19.92 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.004211, allocations: 39.89 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/0.004295, allocations: 19.98 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.004316, allocations: 4 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.016e-05/0.004366, allocations: 15.92 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.004389, allocations: 11.98 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.004428, allocations: 15.94 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.004603, allocations: 79.69 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.004606, allocations: 0 / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.004608, allocations: 8 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.004613, allocations: 3.938 kB / 0.9832 GB, free: 10.12 MB / 0.9356 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.0005214/0.005134, allocations: 294.1 kB / 0.9835 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.005176, allocations: 12.03 kB / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.005342, allocations: 16.88 kB / 0.9835 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.005602, allocations: 137.6 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.005617, allocations: 384 / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.005632, allocations: 4.375 kB / 0.9837 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.005791, allocations: 62.22 kB / 0.9837 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.005801, allocations: 8.188 kB / 0.9837 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.005814, allocations: 4.375 kB / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.005819, allocations: 384 / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.005934, allocations: 35.86 kB / 0.9838 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.006361, allocations: 224.5 kB / 0.984 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.006685, allocations: 70.47 kB / 0.984 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.006744, allocations: 21 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.006765, allocations: 4 kB / 0.9841 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.006796, allocations: 34.5 kB / 0.9841 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 3.146e-06/0.006799, allocations: 3.984 kB / 0.9841 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002848/0.007084, allocations: 69.62 kB / 0.9842 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.007145, allocations: 55.41 kB / 0.9842 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.007267, allocations: 121.8 kB / 0.9843 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.007293, allocations: 29.7 kB / 0.9844 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.167e-05/0.007375, allocations: 88.09 kB / 0.9845 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.007401, allocations: 19.94 kB / 0.9845 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.00744, allocations: 17.66 kB / 0.9845 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.007646, allocations: 322.8 kB / 0.9848 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.007708, allocations: 12 kB / 0.9848 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/0.007796, allocations: 55.41 kB / 0.9849 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.007898, allocations: 28.84 kB / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.0079, allocations: 0 / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001576/0.008057, allocations: 73.56 kB / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.008076, allocations: 10.38 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.00808, allocations: 0 / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.008094, allocations: 0 / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.008149, allocations: 11.94 kB / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.008155, allocations: 0 / 0.985 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.008217, allocations: 11.92 kB / 0.985 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.008223, allocations: 0 / 0.985 GB, free: 8.113 MB / 0.9356 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.0001127/0.008336, allocations: 113.8 kB / 0.9851 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.008366, allocations: 7.938 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.008399, allocations: 11.98 kB / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.008403, allocations: 8 kB / 0.9851 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.008408, allocations: 3.938 kB / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008411, allocations: 0 / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.008576, allocations: 117.3 kB / 0.9852 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.008577, allocations: 0 / 0.9852 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.008621, allocations: 7.984 kB / 0.9852 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.008623, allocations: 0 / 0.9852 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.008637, allocations: 7.938 kB / 0.9853 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008638, allocations: 0 / 0.9853 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00864, allocations: 0 / 0.9853 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.008848, allocations: 159.5 kB / 0.9854 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.008861, allocations: 3.953 kB / 0.9854 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.008884, allocations: 7.938 kB / 0.9854 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.008966, allocations: 11.98 kB / 0.9854 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.009017, allocations: 8.359 kB / 0.9854 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.009023, allocations: 4 kB / 0.9854 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.984e-05/0.009103, allocations: 91.27 kB / 0.9855 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.009103, allocations: 3.938 kB / 0.9855 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002302/0.009334, allocations: 8 kB / 0.9855 GB, free: 7.492 MB / 0.9356 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.0001245/0.009458, allocations: 99.78 kB / 0.9856 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.009628, allocations: 39.95 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.00963, allocations: 0 / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.009689, allocations: 15.94 kB / 0.9857 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.01001, allocations: 11.98 kB / 0.9857 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.01042, allocations: 144.7 kB / 0.9858 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.825e-05/0.01051, allocations: 75.58 kB / 0.9859 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.706e-05/0.01055, allocations: 0 / 0.9859 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.01059, allocations: 16.48 kB / 0.9859 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.01059, allocations: 0 / 0.9859 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of Templates: time 0.003644/0.01423, allocations: 0.7578 MB / 0.9867 GB, free: 6.293 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] 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: 8.26276135072112]