Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 443.5 MB / 0.7321 GB, free: 12.5 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 1.061 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9877/0.9897, allocations: 160.8 MB / 1.218 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002349/0.9921, allocations: 0.7032 MB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.9933, allocations: 0.8468 MB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.9933, allocations: 5.281 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.9933, allocations: 3.938 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.9935, allocations: 13.34 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.9936, allocations: 27.36 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.9938, allocations: 62.66 kB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.9939, allocations: 9.188 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.994, allocations: 33.78 kB / 1.22 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.9941, allocations: 26.8 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.9941, allocations: 5.781 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.9941, allocations: 5.25 kB / 1.22 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.9942, allocations: 9.016 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.9942, allocations: 33.56 kB / 1.22 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.9944, allocations: 61.33 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9944, allocations: 1.156 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.558e-06/0.9944, allocations: 3.984 kB / 1.22 GB, free: 2.266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.9944, allocations: 0 / 1.22 GB, free: 2.266 MB / 0.92 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.000593/0.995, allocations: 372.3 kB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.995, allocations: 8.969 kB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.9951, allocations: 12.27 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.9954, allocations: 191.5 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.9954, allocations: 5.625 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.9954, allocations: 4.094 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.9956, allocations: 63.94 kB / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9956, allocations: 192 / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.9956, allocations: 11.92 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9956, allocations: 1.406 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.9957, allocations: 32.44 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.9962, allocations: 297.1 kB / 1.221 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.9965, allocations: 73.81 kB / 1.221 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.9966, allocations: 19.89 kB / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.9966, allocations: 0 / 1.221 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.9966, allocations: 35.89 kB / 1.221 GB, free: 1.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.9966, allocations: 0 / 1.221 GB, free: 1.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002736/0.9969, allocations: 70.88 kB / 1.221 GB, free: 1.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.997, allocations: 59.34 kB / 1.221 GB, free: 1.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.9971, allocations: 121.7 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.9971, allocations: 30.67 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.9972, allocations: 95.27 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.9972, allocations: 8.766 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.9972, allocations: 17.78 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.9974, allocations: 328.8 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.9975, allocations: 19.55 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.9975, allocations: 24.03 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.611e-05/0.9976, allocations: 34.23 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.9976, allocations: 1.062 kB / 1.222 GB, free: 376 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.9978, allocations: 67.33 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9978, allocations: 4.5 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9978, allocations: 5.219 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.9978, allocations: 32 / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.9979, allocations: 12.23 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9979, allocations: 0.9688 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.9979, allocations: 10.3 kB / 1.222 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.9979, allocations: 0 / 1.222 GB, free: 308 kB / 0.92 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.0001132/0.9981, allocations: 129.2 kB / 1.222 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.9981, allocations: 2.625 kB / 1.222 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.9981, allocations: 9 kB / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.9981, allocations: 5.125 kB / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9981, allocations: 0 / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9981, allocations: 1.219 kB / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.9983, allocations: 174.9 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9984, allocations: 1.375 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.9984, allocations: 3.469 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9984, allocations: 1.484 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.9984, allocations: 3.984 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.9984, allocations: 1.281 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9984, allocations: 0 / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.9986, allocations: 170.4 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.9987, allocations: 83.25 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.9987, allocations: 5.094 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.9988, allocations: 3.094 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.9989, allocations: 11.09 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.9989, allocations: 1.188 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.509e-05/0.999, allocations: 98.02 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.999, allocations: 4 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002327/0.9992, allocations: 11.16 kB / 1.223 GB, free: 15.57 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.0001165/0.9993, allocations: 93.91 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.9995, allocations: 35.36 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9995, allocations: 0 / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.16e-05/0.9996, allocations: 17.58 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.9999, allocations: 15 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/1, allocations: 175.2 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/1.001, allocations: 0.6876 MB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.646e-05/1.001, allocations: 6.406 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/1.001, allocations: 17.91 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/1.001, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.003588/1.004, allocations: 0.721 MB / 1.225 GB, free: 14.21 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.188629707321525]