Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 103 kB / 16.35 MB, free: 5.828 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.001122/0.001122, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.533/2.533, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 68.12 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3303, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001959/0.3323, allocations: 0.7165 MB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008935/0.3332, allocations: 0.8429 MB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.3332, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.3333, allocations: 3.938 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.3334, allocations: 7.875 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.3335, allocations: 27.97 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.327e-05/0.3337, allocations: 59.78 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3338, allocations: 19.98 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.558e-05/0.3339, allocations: 27.86 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.334, allocations: 27.84 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.334, allocations: 4 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.334, allocations: 12 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.334, allocations: 11.98 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.3341, allocations: 27.81 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.3342, allocations: 67.81 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3342, allocations: 0 / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of FrontEnd: time 6.362e-06/0.3342, allocations: 0 / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3342, allocations: 3.938 kB / 1.029 GB, free: 168 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.0004537/0.3347, allocations: 367.2 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3347, allocations: 8.031 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.3348, allocations: 16.78 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.335, allocations: 188.3 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.335, allocations: 384 / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3351, allocations: 8.375 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3352, allocations: 54.23 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3352, allocations: 192 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3352, allocations: 7.938 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3352, allocations: 4 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3354, allocations: 39.95 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.3358, allocations: 296.7 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.336, allocations: 66.53 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.3361, allocations: 20.92 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3361, allocations: 96 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3361, allocations: 42.48 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3362, allocations: 0 / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000259/0.3364, allocations: 69.58 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3365, allocations: 55.41 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.3366, allocations: 117.8 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3366, allocations: 29.7 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.3367, allocations: 104.1 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.3367, allocations: 3.906 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.3367, allocations: 21.7 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3368, allocations: 314.8 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.418e-05/0.3369, allocations: 15.98 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.096e-05/0.337, allocations: 37.64 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.3371, allocations: 28.88 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3371, allocations: 3.938 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.3372, allocations: 65.92 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3372, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3372, allocations: 3.984 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3373, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.3373, allocations: 7.984 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3373, allocations: 4 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.3374, allocations: 15.92 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.3374, allocations: 0 / 1.03 GB, free: 13.95 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 (shaT.hys.y,$PRE.shaT.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 7.646e-05/0.3375, allocations: 125.7 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.3375, allocations: 7.906 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.3376, allocations: 7.906 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3376, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3376, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3376, allocations: 4 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.3378, allocations: 177.6 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3378, allocations: 4 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.3378, allocations: 4 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3378, allocations: 3.984 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3378, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3379, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3379, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.338, allocations: 159.4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.3381, allocations: 85.05 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3381, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.3382, allocations: 7.984 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.3383, allocations: 12 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3383, allocations: 3.984 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.3383, allocations: 91.28 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3383, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002249/0.3386, allocations: 8 kB / 1.031 GB, free: 13.16 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.675e-05/0.3387, allocations: 107.2 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.3388, allocations: 31.98 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3388, allocations: 3.938 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/0.3389, allocations: 15.92 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.3392, allocations: 18.53 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.3395, allocations: 159.7 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3398, allocations: 0.6924 MB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.3398, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.3399, allocations: 11.44 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3399, allocations: 0 / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of Templates: time 0.003014/0.3429, allocations: 0.7109 MB / 1.033 GB, free: 11.36 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches