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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001555/0.001555, allocations: 108.9 kB / 16.37 MB, free: 6.465 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.001516/0.001516, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.514/1.514, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.3 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3315, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002035/0.3335, allocations: 0.7022 MB / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3346, allocations: 0.8489 MB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.3346, allocations: 0 / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.3347, allocations: 3.938 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3348, allocations: 19.84 kB / 0.9527 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.335, allocations: 15.92 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.963e-05/0.3351, allocations: 63.78 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3352, allocations: 16 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.3353, allocations: 31.91 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.3354, allocations: 27.84 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.3354, allocations: 8 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.3354, allocations: 4 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.3355, allocations: 4 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.3355, allocations: 35.8 kB / 0.9529 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3356, allocations: 63.77 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3356, allocations: 0 / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.477e-06/0.3356, allocations: 0 / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3356, allocations: 11.88 kB / 0.9529 GB, free: 6.215 MB / 0.7325 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.000508/0.3362, allocations: 371.1 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3362, allocations: 8.031 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3362, allocations: 4.938 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.3365, allocations: 192.2 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3365, allocations: 4.375 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.3366, allocations: 4.375 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3367, allocations: 58.23 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3367, allocations: 4.188 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3367, allocations: 3.938 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3367, allocations: 0 / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.3369, allocations: 35.91 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.3373, allocations: 296.7 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.3376, allocations: 78.45 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.457e-05/0.3376, allocations: 21 kB / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.3377, allocations: 0 / 0.954 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3377, allocations: 30.56 kB / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3377, allocations: 4 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002448/0.3379, allocations: 73.58 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.338, allocations: 51.41 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3381, allocations: 125.8 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3381, allocations: 29.7 kB / 0.9543 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.3382, allocations: 88.14 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.3382, allocations: 7.891 kB / 0.9544 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.3383, allocations: 21.66 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3384, allocations: 322.8 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.3384, allocations: 19.98 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.3385, allocations: 25.7 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.3386, allocations: 28.84 kB / 0.9548 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3386, allocations: 7.938 kB / 0.9548 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001541/0.3388, allocations: 65.58 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3388, allocations: 4 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3388, allocations: 4.031 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3388, allocations: 4 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.031e-05/0.3389, allocations: 7.938 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3389, allocations: 0 / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.339, allocations: 11.92 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.339, allocations: 0 / 0.9549 GB, free: 4.008 MB / 0.7325 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 8.14e-05/0.3391, allocations: 119.8 kB / 0.955 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3391, allocations: 7.906 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.3391, allocations: 15.89 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3391, allocations: 4 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3391, allocations: 7.938 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3391, allocations: 0 / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.3393, allocations: 169.6 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3393, allocations: 0 / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.3394, allocations: 7.984 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3394, allocations: 4 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3394, allocations: 0 / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3394, allocations: 0 / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3394, allocations: 0 / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.3396, allocations: 163.7 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.3397, allocations: 81.02 kB / 0.9554 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.3397, allocations: 8 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.3398, allocations: 3.984 kB / 0.9554 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.3398, allocations: 12.02 kB / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3398, allocations: 4 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.3399, allocations: 95.27 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.3399, allocations: 0 / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002247/0.3401, allocations: 12 kB / 0.9555 GB, free: 3.211 MB / 0.7325 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.0001111/0.3402, allocations: 95.78 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.3404, allocations: 35.97 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3404, allocations: 3.938 kB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.3405, allocations: 15.94 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3408, allocations: 17.95 kB / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.3412, allocations: 159.9 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3414, allocations: 0.6922 MB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.843e-05/0.3415, allocations: 4 kB / 0.9565 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3415, allocations: 15.42 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3415, allocations: 0 / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of Templates: time 0.00344/0.345, allocations: 0.7023 MB / 0.9572 GB, free: 1.422 MB / 0.7325 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 -s cvode -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