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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 249.3 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.366/2.366, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 63.89 kB / 1.059 GB, free: 0.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2709, allocations: 160.7 MB / 1.216 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001891/0.2728, allocations: 0.7074 MB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2739, allocations: 0.8586 MB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.2739, allocations: 0 / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.2739, allocations: 3.938 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.274, allocations: 7.875 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.2742, allocations: 27.91 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.591e-05/0.2743, allocations: 63.78 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2744, allocations: 11.98 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.2745, allocations: 23.92 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.2745, allocations: 23.92 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2746, allocations: 15.98 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.2746, allocations: 4 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.2746, allocations: 11.92 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.2746, allocations: 27.86 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.2748, allocations: 71.92 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2748, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2748, allocations: 4 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2748, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9669 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.0004836/0.2753, allocations: 371.2 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2753, allocations: 12.03 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.2753, allocations: 38.67 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2754, allocations: 12.89 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2756, allocations: 188.2 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2756, allocations: 8.312 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.2756, allocations: 4.375 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.2758, allocations: 58.17 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2758, allocations: 3.938 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2758, allocations: 4 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2758, allocations: 0 / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.694e-05/0.2759, allocations: 27.98 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.2763, allocations: 296.8 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.2766, allocations: 74.41 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.2766, allocations: 21 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.2767, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.2767, allocations: 34.56 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.2767, allocations: 0 / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002433/0.2769, allocations: 69.62 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.277, allocations: 59.34 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.2771, allocations: 121.8 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2771, allocations: 29.7 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.2771, allocations: 96.16 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.2772, allocations: 3.953 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.2772, allocations: 21.7 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2773, allocations: 322.8 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.2774, allocations: 15.98 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.2774, allocations: 29.7 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.383e-05/0.2775, allocations: 32.84 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2775, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.2777, allocations: 69.56 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.2777, allocations: 4 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2777, allocations: 4 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2777, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.2777, allocations: 8.031 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2777, allocations: 0 / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.2778, allocations: 12.25 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.2778, allocations: 4 kB / 1.219 GB, free: 11.79 MB / 0.9669 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 8.558e-05/0.2779, allocations: 113.8 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.2779, allocations: 7.984 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.278, allocations: 7.906 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.278, allocations: 7.984 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.278, allocations: 4 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.278, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.2781, allocations: 169.6 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2781, allocations: 3.938 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.2782, allocations: 11.98 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2782, allocations: 3.938 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2782, allocations: 0 / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2782, allocations: 4 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2782, allocations: 0 / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.2784, allocations: 171.4 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.2784, allocations: 81.06 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.2785, allocations: 8 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.2785, allocations: 7.984 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.2786, allocations: 3.984 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.2786, allocations: 4 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.2786, allocations: 95.27 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2786, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002082/0.2788, allocations: 12 kB / 1.22 GB, free: 10.99 MB / 0.9669 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.0004941/0.2793, allocations: 0.6899 MB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.2795, allocations: 35.97 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2795, allocations: 4 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.2796, allocations: 12 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.2798, allocations: 11.98 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.2812, allocations: 1.333 MB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2815, allocations: 0.6807 MB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.161e-05/0.2816, allocations: 12.41 kB / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.2816, allocations: 19.44 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.2816, allocations: 0 / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02262/0.3042, allocations: 1.736 MB / 1.224 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/7.211, allocations: 13.86 kB / 1.224 GB, free: 6.398 MB / 0.9669 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv --start-time 0 --stop-time 1800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable shaT.THigh in file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.THigh from file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.TLow in file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.TLow from file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! Error: Could not read variable shaT.T in file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv. Warning: Get data of variable shaT.T from file Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.492486142000416]