Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00126/0.00126, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001208/0.001208, allocations: 189.4 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 63.91 kB / 0.9515 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9425/0.9441, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001925/0.9461, allocations: 0.6965 MB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.9471, allocations: 0.8492 MB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.9471, allocations: 0 / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.218e-05/0.9472, allocations: 5.5 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.9473, allocations: 14.42 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.9475, allocations: 16.8 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.9476, allocations: 57.39 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.9478, allocations: 22.47 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.9479, allocations: 32.62 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.948, allocations: 25.22 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.9481, allocations: 4.688 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.88e-05/0.9481, allocations: 6.281 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.9481, allocations: 15.61 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.9482, allocations: 27.84 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.9483, allocations: 66.08 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.9483, allocations: 4.562 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9483, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.9484, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 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.0005183/0.9489, allocations: 376 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.9489, allocations: 8.844 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.949, allocations: 12.66 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.9493, allocations: 199 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.9493, allocations: 2.562 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.9493, allocations: 2.594 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.9495, allocations: 60.17 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.9495, allocations: 192 / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.9495, allocations: 9.062 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.9496, allocations: 1.062 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.9497, allocations: 26 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.9501, allocations: 300.5 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.9504, allocations: 67.34 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.9505, allocations: 18.97 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.9505, allocations: 0 / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.9505, allocations: 40.7 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.9505, allocations: 0 / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002588/0.9508, allocations: 70.52 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.9508, allocations: 56.83 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.9509, allocations: 127 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.9509, allocations: 26.95 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.951, allocations: 88.88 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.951, allocations: 15.41 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.9511, allocations: 14.52 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.9511, allocations: 318.2 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.9512, allocations: 14.77 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.9513, allocations: 31.56 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.9514, allocations: 33.95 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9514, allocations: 5.031 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001444/0.9515, allocations: 65.25 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.9516, allocations: 5.5 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9516, allocations: 0.9062 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.9516, allocations: 0 / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.9517, allocations: 6.969 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.9517, allocations: 1.281 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.9518, allocations: 8.328 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-06/0.9518, allocations: 1.219 kB / 1.092 GB, free: 2.469 MB / 0.8575 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.756e-05/0.9518, allocations: 126.6 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.9519, allocations: 11.25 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.9519, allocations: 9.609 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9519, allocations: 5.969 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9519, allocations: 0 / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.952, allocations: 83.03 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.952, allocations: 1.281 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.9521, allocations: 6.453 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.9521, allocations: 18.41 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001656/0.9523, allocations: 134.3 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001572/0.9525, allocations: 234.6 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.889e-05/0.9525, allocations: 15.39 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.9526, allocations: 96.7 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of Backend: time 2.3e-07/0.9526, allocations: 7.938 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.953, allocations: 94.09 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003861/0.9534, allocations: 0.6039 MB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of Templates: time 0.003449/0.9568, allocations: 0.7397 MB / 1.094 GB, free: 1.02 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches