Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001173/0.001173, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001151/0.001152, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.72 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3396, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002078/0.3417, allocations: 0.7112 MB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.3427, allocations: 0.843 MB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.3428, allocations: 0 / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.3428, allocations: 15.8 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.375e-05/0.3429, allocations: 3.938 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.3431, allocations: 23.91 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3432, allocations: 59.84 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3434, allocations: 15.98 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3435, allocations: 31.91 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.3436, allocations: 27.86 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3436, allocations: 4 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.847e-05/0.3436, allocations: 11.94 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.3437, allocations: 11.92 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.3437, allocations: 27.88 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.3438, allocations: 67.7 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3439, allocations: 0 / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3439, allocations: 0 / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3439, allocations: 0 / 1.029 GB, free: 200 kB / 0.795 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.0005657/0.3444, allocations: 375.2 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3445, allocations: 8.031 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.3445, allocations: 12.84 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.3448, allocations: 188.3 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3448, allocations: 384 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3448, allocations: 4.375 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.345, allocations: 54.23 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.345, allocations: 4.188 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.345, allocations: 7.875 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.345, allocations: 4 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.3451, allocations: 27.98 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.3455, allocations: 300.7 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.3458, allocations: 74.47 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.3459, allocations: 21 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3459, allocations: 0 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.3459, allocations: 30.56 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3459, allocations: 0 / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002398/0.3462, allocations: 73.58 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3462, allocations: 59.39 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.3463, allocations: 121.8 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3463, allocations: 29.7 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.3464, allocations: 88.12 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.3464, allocations: 11.91 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.3465, allocations: 13.72 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3466, allocations: 322.8 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.3467, allocations: 19.94 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.869e-05/0.3467, allocations: 29.7 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.3468, allocations: 29.12 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3468, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.347, allocations: 73.56 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.347, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.347, allocations: 3.938 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.347, allocations: 4.031 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.3471, allocations: 4 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3471, allocations: 7.969 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.3471, allocations: 19.88 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3472, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 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.788e-05/0.3472, allocations: 121.7 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.3473, allocations: 11.89 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.3473, allocations: 7.906 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3473, allocations: 4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.3473, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3473, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.3475, allocations: 177.6 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3475, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.3476, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3476, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3476, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3476, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3476, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.3478, allocations: 167.3 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.3478, allocations: 85.09 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3479, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3479, allocations: 4 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.348, allocations: 7.984 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.348, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.3481, allocations: 99.7 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.713e-06/0.3481, allocations: 4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002174/0.3483, allocations: 11.94 kB / 1.031 GB, free: 13.18 MB / 0.8106 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 9.533e-05/0.3484, allocations: 91.25 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.3486, allocations: 39.91 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3486, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.3486, allocations: 19.98 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.3489, allocations: 15.94 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.3493, allocations: 160 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.3495, allocations: 0.6807 MB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.3496, allocations: 7.984 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.3496, allocations: 15.44 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3496, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of Templates: time 0.002861/0.3525, allocations: 0.7129 MB / 1.033 GB, free: 11.39 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches