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.0008715/0.0008715, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007878/0.0007878, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8906/0.8906, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.8/1.8, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 3.527e-06/3.527e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.33e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001437/0.00147, allocations: 0.6934 MB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.00238, allocations: 0.8743 MB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.002438, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.00247, allocations: 3.938 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.002564, allocations: 19.86 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.002776, allocations: 23.91 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.129e-05/0.002868, allocations: 55.8 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.002979, allocations: 19.97 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.003134, allocations: 39.84 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.003198, allocations: 27.91 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.003215, allocations: 4 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-05/0.003254, allocations: 8 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.00327, allocations: 11.98 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.003292, allocations: 15.94 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.003425, allocations: 79.75 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003427, allocations: 4 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003428, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003432, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 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.0004003/0.003833, allocations: 290.1 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.003871, allocations: 12.75 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.003998, allocations: 16.83 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.004176, allocations: 137.7 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.004189, allocations: 384 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.0042, allocations: 8.375 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.004315, allocations: 63.02 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.004324, allocations: 192 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.004333, allocations: 384 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.004338, allocations: 384 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.547e-05/0.004403, allocations: 35.91 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.004724, allocations: 232.4 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.004908, allocations: 74.52 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.00494, allocations: 16.92 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.004956, allocations: 0 / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.004973, allocations: 38.44 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.004975, allocations: 3.984 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001909/0.005166, allocations: 73.75 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.0052, allocations: 55.41 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.005269, allocations: 113.8 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.005282, allocations: 33.7 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.005329, allocations: 96.08 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.005344, allocations: 11.89 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.005373, allocations: 13.72 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.005451, allocations: 322.8 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.418e-05/0.005485, allocations: 12 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.005537, allocations: 63.34 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.00559, allocations: 32.84 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005592, allocations: 0 / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.006e-05/0.005682, allocations: 73.59 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.005694, allocations: 4 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.005699, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.005712, allocations: 4 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/0.005749, allocations: 7.984 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.005754, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.005781, allocations: 4 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.005789, allocations: 4 kB / 1.004 GB, free: 9.16 MB / 0.9636 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.76e-05/0.005856, allocations: 121.8 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.005871, allocations: 11.89 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.005894, allocations: 12 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005896, allocations: 0 / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.005901, allocations: 0 / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005904, allocations: 0 / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.608e-05/0.006, allocations: 113.3 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.006001, allocations: 0 / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.006023, allocations: 7.984 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.006025, allocations: 4 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.006033, allocations: 3.938 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006034, allocations: 4 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006035, allocations: 0 / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.006146, allocations: 155.5 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.006157, allocations: 7.938 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.006171, allocations: 7.875 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.006208, allocations: 7.984 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.006249, allocations: 12.36 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.006252, allocations: 0 / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.683e-05/0.006299, allocations: 95.64 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006299, allocations: 0 / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001529/0.006452, allocations: 12 kB / 1.005 GB, free: 8.531 MB / 0.9636 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.000108/0.00656, allocations: 95.25 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.006709, allocations: 35.95 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.006712, allocations: 4 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.006747, allocations: 19.92 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.007034, allocations: 8 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.007455, allocations: 190.7 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.37e-05/0.007519, allocations: 67.34 kB / 1.005 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.007574, allocations: 12.5 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of SimCode: time 3.81e-07/0.007574, allocations: 0 / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of Templates: time 0.00189/0.009464, allocations: 0.8671 MB / 1.006 GB, free: 7.176 MB / 0.9636 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: 6.44975112657994]