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.001559/0.001559, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001674/0.001674, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.911/2.911, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 67.89 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.976/0.9781, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0017/0.9798, allocations: 0.7069 MB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008901/0.9807, allocations: 0.8974 MB / 1.323 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.9808, allocations: 2.781 kB / 1.323 GB, free: 23.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.9808, allocations: 3.938 kB / 1.323 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.9809, allocations: 3.938 kB / 1.323 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.9811, allocations: 27.98 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.312e-05/0.9812, allocations: 60.14 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.9813, allocations: 16.8 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.9814, allocations: 30.22 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.9815, allocations: 34.92 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.9815, allocations: 5.281 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.793e-05/0.9815, allocations: 8.375 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.9815, allocations: 15.17 kB / 1.324 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.9816, allocations: 21.28 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.9817, allocations: 80.92 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9817, allocations: 0 / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9817, allocations: 0 / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.9817, allocations: 2.562 kB / 1.324 GB, free: 23.73 MB / 1.061 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.0003861/0.9821, allocations: 377.1 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.9821, allocations: 11.52 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.9822, allocations: 14.62 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.9824, allocations: 193 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.9824, allocations: 7.375 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.9825, allocations: 2.844 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.9826, allocations: 54.47 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.9826, allocations: 192 / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.9826, allocations: 7.938 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.9826, allocations: 0 / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.9827, allocations: 31.59 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.983, allocations: 308.6 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.9833, allocations: 70.47 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.9833, allocations: 17.55 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.9833, allocations: 3.281 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.125e-05/0.9833, allocations: 30.56 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.9833, allocations: 0 / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002276/0.9836, allocations: 73.02 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.9836, allocations: 58.78 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.9837, allocations: 120.7 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.9837, allocations: 28.52 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.9837, allocations: 93.98 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.9837, allocations: 10.69 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.9838, allocations: 19.7 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.9838, allocations: 317.4 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/0.9839, allocations: 22.97 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.9839, allocations: 25.14 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.984, allocations: 33.73 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.984, allocations: 2.531 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/0.9841, allocations: 61.08 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.9841, allocations: 5.781 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.9841, allocations: 3.281 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.9841, allocations: 0 / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.9842, allocations: 9.25 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.9842, allocations: 0 / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.9842, allocations: 12.27 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.9843, allocations: 2.75 kB / 1.326 GB, free: 21.9 MB / 1.061 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 5.357e-05/0.9843, allocations: 116.2 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.9843, allocations: 10.52 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.9844, allocations: 10.05 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.9844, allocations: 0 / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.9844, allocations: 8 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.9844, allocations: 0 / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.9845, allocations: 181.7 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9845, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.9845, allocations: 8.578 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.9845, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.9845, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.9845, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9845, allocations: 3.156 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.9847, allocations: 160.8 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.9847, allocations: 88.33 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.9847, allocations: 2.719 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.9848, allocations: 6.844 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.9848, allocations: 10.19 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.9848, allocations: 6.578 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.9849, allocations: 91.44 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9849, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002161/0.9851, allocations: 11.72 kB / 1.326 GB, free: 21.2 MB / 1.061 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 7.733e-05/0.9852, allocations: 103.5 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.9853, allocations: 31.45 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9853, allocations: 2.781 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.9854, allocations: 14.97 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.9856, allocations: 6.625 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.9859, allocations: 188.9 kB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.9861, allocations: 0.6857 MB / 1.327 GB, free: 20.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.9861, allocations: 13.11 kB / 1.327 GB, free: 20.22 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.9861, allocations: 0 / 1.327 GB, free: 20.22 MB / 1.061 GB Notification: Performance of Templates: time 0.002028/0.9881, allocations: 0.8578 MB / 1.328 GB, free: 20.14 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.335224454000127]