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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.789/2.789, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003976, allocations: 16 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8147, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0008503/0.8156, allocations: 424.9 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.8167, allocations: 0.8391 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.8168, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.8168, allocations: 7.922 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.8169, allocations: 3.938 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.8171, allocations: 15.97 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/0.8172, allocations: 51.8 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.8173, allocations: 23.97 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.8174, allocations: 19.92 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.8175, allocations: 23.84 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.8175, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.8176, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.8176, allocations: 4 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.8176, allocations: 37.64 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.955e-05/0.8177, allocations: 43.89 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8177, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8177, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.8178, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 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.0005112/0.8183, allocations: 357.1 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.8183, allocations: 15.97 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.8184, allocations: 3.906 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.8187, allocations: 195 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.8187, allocations: 8 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.8187, allocations: 11.94 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.8189, allocations: 61.56 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8189, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.8189, allocations: 3.984 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.8189, allocations: 3.984 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.819, allocations: 31.98 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.8195, allocations: 304.7 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.8198, allocations: 86.53 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.504e-05/0.8198, allocations: 24.94 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.8199, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.8199, allocations: 34.56 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.8199, allocations: 0 / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002663/0.8202, allocations: 77.58 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.8202, allocations: 55.34 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.8204, allocations: 117.8 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.8204, allocations: 33.69 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.8205, allocations: 96.08 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.8205, allocations: 3.906 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.8205, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.8207, allocations: 326.8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.8207, allocations: 12 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.8208, allocations: 29.7 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.552e-05/0.8208, allocations: 20.02 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8209, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.821, allocations: 69.59 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.821, allocations: 7.984 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.821, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.8211, allocations: 3.938 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.916e-05/0.8211, allocations: 8 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8211, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.8212, allocations: 15.98 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.8212, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 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 ($PRE.shaH.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.216e-05/0.8213, allocations: 117.8 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.8213, allocations: 11.84 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.8214, allocations: 7.906 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8214, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.8214, allocations: 3.984 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8214, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.8216, allocations: 185.6 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8216, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.8216, allocations: 7.984 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8216, allocations: 4 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.8217, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.8217, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8217, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.8218, allocations: 167.8 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.8219, allocations: 84.97 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.8219, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.822, allocations: 15.98 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.8221, allocations: 11.98 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.8221, allocations: 0 / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.643e-05/0.8221, allocations: 95.7 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8221, allocations: 0 / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002121/0.8224, allocations: 8 kB / 1.026 GB, free: 11.53 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001038/0.8225, allocations: 99.19 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.8227, allocations: 39.97 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8227, allocations: 3.938 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.8227, allocations: 20 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.823, allocations: 13.72 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.8234, allocations: 176.7 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.8237, allocations: 0.6887 MB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.8237, allocations: 4 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.8237, allocations: 7.438 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.8237, allocations: 0 / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.002816/0.8266, allocations: 0.5753 MB / 1.028 GB, free: 9.84 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) 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) Reference file matches