Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001344/0.001344, allocations: 92.7 kB / 19.44 MB, free: 316 kB / 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.00161/0.00161, allocations: 161.3 kB / 22.76 MB, free: 1.648 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 1.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.254/3.254, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.8775 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.635e-05, allocations: 6.703 kB / 0.8775 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002152/0.002188, allocations: 0.6978 MB / 0.8782 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.003679, allocations: 0.8711 MB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.003744, allocations: 5.812 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.003783, allocations: 3.938 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.003901, allocations: 13.11 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.004133, allocations: 23.91 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.004267, allocations: 64.91 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.004383, allocations: 8 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.004647, allocations: 51.83 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.004728, allocations: 21.03 kB / 0.8793 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.004751, allocations: 8 kB / 0.8793 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.0048, allocations: 8 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.004825, allocations: 12.73 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.004872, allocations: 19.98 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.005053, allocations: 79.14 kB / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.005056, allocations: 0 / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005057, allocations: 0 / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.005062, allocations: 0 / 0.8794 GB, free: 4.695 MB / 0.8386 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.0006211/0.005683, allocations: 294.1 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.005729, allocations: 8.031 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.005923, allocations: 20.88 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.006204, allocations: 134.3 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.006225, allocations: 4.375 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.006242, allocations: 5.562 kB / 0.8798 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.006431, allocations: 58.23 kB / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.006439, allocations: 192 / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.006451, allocations: 1.906 kB / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.006456, allocations: 384 / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.006582, allocations: 39.84 kB / 0.8799 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.007082, allocations: 246.3 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.007449, allocations: 75.06 kB / 0.8802 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.007522, allocations: 17 kB / 0.8803 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.007541, allocations: 3.938 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.007577, allocations: 38.5 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.007578, allocations: 0 / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003057/0.007884, allocations: 73.62 kB / 0.8804 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.007932, allocations: 51.41 kB / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.008061, allocations: 125.8 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.008084, allocations: 25.7 kB / 0.8806 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.008161, allocations: 100.1 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.008181, allocations: 7.906 kB / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.008229, allocations: 21.7 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.008419, allocations: 314.8 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.008485, allocations: 19.98 kB / 0.881 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.699e-05/0.008572, allocations: 51.41 kB / 0.881 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.101e-05/0.008663, allocations: 28.84 kB / 0.8811 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008665, allocations: 0 / 0.8811 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001636/0.008828, allocations: 69.66 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.008847, allocations: 11.98 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008851, allocations: 0 / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.00887, allocations: 3.938 kB / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.008921, allocations: 4 kB / 0.8812 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.008927, allocations: 0 / 0.8812 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.008992, allocations: 11.98 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.008998, allocations: 0 / 0.8812 GB, free: 2.684 MB / 0.8386 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.0001172/0.009116, allocations: 113.8 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.009155, allocations: 11.89 kB / 0.8813 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.009184, allocations: 12 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.009186, allocations: 0 / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.009196, allocations: 7.984 kB / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.009199, allocations: 0 / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.009371, allocations: 109.3 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009372, allocations: 0 / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.009417, allocations: 4 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.009422, allocations: 7.922 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.009435, allocations: 7.938 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.009439, allocations: 4 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00944, allocations: 4 kB / 0.8814 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.009676, allocations: 159.7 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.009693, allocations: 7.938 kB / 0.8816 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.009715, allocations: 7.938 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.009796, allocations: 7.984 kB / 0.8816 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.00985, allocations: 3.984 kB / 0.8816 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.009858, allocations: 4 kB / 0.8816 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.123e-05/0.00995, allocations: 95.27 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00995, allocations: 0 / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002498/0.0102, allocations: 11.95 kB / 0.8817 GB, free: 2.059 MB / 0.8386 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.0001278/0.01033, allocations: 95.25 kB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.01049, allocations: 35.92 kB / 0.8819 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01049, allocations: 0 / 0.8819 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.912e-05/0.01055, allocations: 19.98 kB / 0.8819 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.01088, allocations: 15.98 kB / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.01131, allocations: 144.5 kB / 0.882 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.66e-05/0.01139, allocations: 79.19 kB / 0.8821 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.763e-05/0.01143, allocations: 0 / 0.8821 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01148, allocations: 12.5 kB / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.01148, allocations: 0 / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of Templates: time 0.003713/0.01519, allocations: 0.7738 MB / 0.8829 GB, free: 0.8477 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.46231713204179]