Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_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_10_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.00177/0.00177, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.576/1.576, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.854/2.854, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.7171, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002009/0.7192, allocations: 0.6927 MB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.7202, allocations: 0.8429 MB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.7203, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.7203, allocations: 3.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.628e-05/0.7204, allocations: 11.86 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.7206, allocations: 35.91 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.7207, allocations: 59.8 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.7209, allocations: 19.97 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.636e-05/0.721, allocations: 27.91 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.459e-05/0.7211, allocations: 23.86 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.7211, allocations: 8 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.7211, allocations: 4 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.7211, allocations: 15.98 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.7212, allocations: 23.88 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.7213, allocations: 65.73 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7213, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.387e-06/0.7213, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.7213, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 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.0006257/0.722, allocations: 379.1 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.722, allocations: 8.031 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.7221, allocations: 8.938 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.7224, allocations: 192.3 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.7224, allocations: 384 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.7225, allocations: 8.375 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.7226, allocations: 58.23 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.7227, allocations: 192 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.7227, allocations: 3.938 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.7227, allocations: 3.938 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.7228, allocations: 31.92 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.7234, allocations: 304.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.7237, allocations: 66.53 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.7238, allocations: 24.94 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.7238, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.7238, allocations: 38.56 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7238, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002872/0.7241, allocations: 65.67 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.7242, allocations: 55.39 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.7243, allocations: 133.6 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.7243, allocations: 25.7 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.7244, allocations: 96.12 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.7244, allocations: 3.906 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.7245, allocations: 17.72 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.7247, allocations: 322.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.7248, allocations: 15.94 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.7248, allocations: 33.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.027e-05/0.7249, allocations: 29.12 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.725, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001493/0.7251, allocations: 69.56 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7251, allocations: 5.562 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7251, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.7252, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.7252, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.7252, allocations: 7.922 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.7253, allocations: 12.03 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.7253, allocations: 4 kB / 1.021 GB, free: 14.41 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 (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 0.0001081/0.7254, allocations: 113.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.7255, allocations: 11.91 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.7255, allocations: 3.906 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.7255, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7255, allocations: 3.938 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7255, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.7258, allocations: 181.6 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7258, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.451e-05/0.7258, allocations: 8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7258, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.7258, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.7258, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7259, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.7261, allocations: 167.4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.7261, allocations: 85 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.7262, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.7262, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.7263, allocations: 7.984 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.7263, allocations: 4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.333e-05/0.7264, allocations: 91.27 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7264, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002326/0.7267, allocations: 11.94 kB / 1.022 GB, free: 13.62 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 (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 0.0001438/0.7268, allocations: 103.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.727, allocations: 35.97 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.727, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.263e-05/0.7271, allocations: 23.92 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.7274, allocations: 3.938 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.7279, allocations: 163.9 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.7283, allocations: 0.6807 MB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.664e-05/0.7283, allocations: 7.984 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.7283, allocations: 11.44 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7284, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.003455/0.7318, allocations: 0.7001 MB / 1.023 GB, free: 11.83 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches